Logo Mibo

FrameStats Type

Frame measurements collected over a time window.

The profiler refreshes these values once per window. All rates are windowed counts. All costs are means over the window, in milliseconds.

Record fields

Record Field Description

AllocatedBytes

Full Usage: AllocatedBytes

Field type: int64

Bytes allocated on the frame thread during the window.

Field type: int64

DrawMs

Full Usage: DrawMs

Field type: float32 voption

Mean cost of the draw phase, in milliseconds. ValueNone on headless runners.

Field type: float32 voption

DrawsPerSecond

Full Usage: DrawsPerSecond

Field type: float32 voption

Draws per second. This is the frame rate the player sees. ValueNone on headless runners.

Field type: float32 voption

FrameMs

Full Usage: FrameMs

Field type: float32

Mean host frame interval in milliseconds.

Field type: float32

FramesPerSecond

Full Usage: FramesPerSecond

Field type: float32

Host frames per second. A host frame is one update step of the host loop.

Field type: float32

Gen0Collections

Full Usage: Gen0Collections

Field type: int

Generation 0 collections during the window.

Field type: int

Gen1Collections

Full Usage: Gen1Collections

Field type: int

Generation 1 collections during the window.

Field type: int

Gen2Collections

Full Usage: Gen2Collections

Field type: int

Generation 2 collections during the window.

Field type: int

GpuDrawCalls

Full Usage: GpuDrawCalls

Field type: int64 voption

Draw calls of the last frame. ValueNone where the backend reports no such count.

Field type: int64 voption

GpuPrimitives

Full Usage: GpuPrimitives

Field type: int64 voption

Primitives of the last frame. ValueNone where the backend reports no such count.

Field type: int64 voption

GpuTextureBinds

Full Usage: GpuTextureBinds

Field type: int64 voption

Texture binds of the last frame. ValueNone where the backend reports no such count.

Field type: int64 voption

SimStepsPerSecond

Full Usage: SimStepsPerSecond

Field type: float32

Simulation steps per second. With a fixed step this counts every step, not every frame.

Field type: float32

SlowFrames

Full Usage: SlowFrames

Field type: int

Frames that ran behind in the window. Fixed step drops count here. On MonoGame, the fixed step catch up flag counts here.

Field type: int

TotalFrames

Full Usage: TotalFrames

Field type: int64

Total host frames since the profiler was created.

Field type: int64

UpdateMs

Full Usage: UpdateMs

Field type: float32

Mean cost of the update phase, in milliseconds.

Field type: float32

WorstFrameMs

Full Usage: WorstFrameMs

Field type: float32

Worst host frame interval in the window, in milliseconds.

Field type: float32

Type something to start searching.