Runtime/Core/Public/EngineStats.h file

Classes

class BrainStepRate
class EngineStats

Enums

enum class EngineStat: uint32_t { SentinelHz, BrainHz, BrainStepMs, SimBehindMs, RollbacksPerSecond, EncoderFps, EncoderFrameMs, FrameAgeMs, InputToPhotonMs, UIPrimitives, BrainLoadMs, EncoderLoadMs, SentinelLoadMs, GpuLoadDraws, BusyWorkers, ForcedRollbackEvery, GpuFrameMs, Count }

Enum documentation

enum class EngineStat: uint32_t

Enumerators
SentinelHz

main loop iterations per second

BrainHz

fixed steps per second

BrainStepMs

average time between fixed steps

SimBehindMs

how far the sim is behind real time (its debt; bounded, see LogicThread)

RollbacksPerSecond

rollbacks executed

EncoderFps

frames presented per second

EncoderFrameMs

average time per presented frame

FrameAgeMs

from the input of the sim frame being shown to handing it to the display

InputToPhotonMs

measured input-to-photon latency; negative when it is not being measured

UIPrimitives

primitives in the last UI document drawn

BrainLoadMs

time injected into every fixed step (StressInjection)

EncoderLoadMs

time injected into every render iteration

SentinelLoadMs

time injected into every main loop iteration

GpuLoadDraws

extra times the scene is drawn each frame (StressInjection)

BusyWorkers

job workers kept occupied (StressInjection)

ForcedRollbackEvery

fixed steps between forced rollbacks; 0 = none (StressInjection)

GpuFrameMs

GPU time for a frame's commands, from timestamps; 0 when not measured.

Count