|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
Snapshot of game-loop real-time health for the GET /api/game-loop diagnostic endpoint. All fields are read with relaxed ordering — for monitoring, not synchronisation. More...
#include <game_loop.h>
Public Attributes | |
| uint64_t | periodUs = 0 |
| Configured target period (µs). | |
| double | targetHz = 0.0 |
| Target rate = 1e6 / periodUs. | |
| double | achievedHz = 0.0 |
| Cumulative avg = executedCycles / uptime; 0 pre-run. | |
| uint64_t | executedCycles = 0 |
| Loop iterations run since run(). | |
| uint64_t | skippedCycles = 0 |
| Cycles skipped to catch up since run(). | |
| uint64_t | lastExecNs = 0 |
| Task-exec time of the most recent cycle (ns). | |
| uint64_t | maxExecNs = 0 |
| Worst task-exec time since run() (ns). | |
| uint64_t | avgExecNs = 0 |
| Mean task-exec time since run() (ns). | |
| bool | schedFifo = false |
| SCHED_FIFO acquired (false on Windows / failure). | |
| bool | memLocked = false |
| mlockall ok (Linux only; false elsewhere). | |
| uint64_t | timestampUs = 0 |
| Server stamp (epoch µs) for exact client Δt. | |
Snapshot of game-loop real-time health for the GET /api/game-loop diagnostic endpoint. All fields are read with relaxed ordering — for monitoring, not synchronisation.
| double GameLoopHealth::achievedHz = 0.0 |
Cumulative avg = executedCycles / uptime; 0 pre-run.
| uint64_t GameLoopHealth::avgExecNs = 0 |
Mean task-exec time since run() (ns).
| uint64_t GameLoopHealth::executedCycles = 0 |
Loop iterations run since run().
| uint64_t GameLoopHealth::lastExecNs = 0 |
Task-exec time of the most recent cycle (ns).
| uint64_t GameLoopHealth::maxExecNs = 0 |
Worst task-exec time since run() (ns).
| bool GameLoopHealth::memLocked = false |
mlockall ok (Linux only; false elsewhere).
| uint64_t GameLoopHealth::periodUs = 0 |
Configured target period (µs).
| bool GameLoopHealth::schedFifo = false |
SCHED_FIFO acquired (false on Windows / failure).
| uint64_t GameLoopHealth::skippedCycles = 0 |
Cycles skipped to catch up since run().
| double GameLoopHealth::targetHz = 0.0 |
Target rate = 1e6 / periodUs.
| uint64_t GameLoopHealth::timestampUs = 0 |
Server stamp (epoch µs) for exact client Δt.