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
|
Full Usage:
AllocatedBytes
Field type: int64
|
Bytes allocated on the frame thread during the window.
|
Full Usage:
DrawMs
Field type: float32 voption
|
Mean cost of the draw phase, in milliseconds.
|
Full Usage:
DrawsPerSecond
Field type: float32 voption
|
Draws per second. This is the frame rate the player sees.
|
Full Usage:
FrameMs
Field type: float32
|
Mean host frame interval in milliseconds.
|
Full Usage:
FramesPerSecond
Field type: float32
|
Host frames per second. A host frame is one update step of the host loop.
|
Full Usage:
Gen0Collections
Field type: int
|
Generation 0 collections during the window.
|
Full Usage:
Gen1Collections
Field type: int
|
Generation 1 collections during the window.
|
Full Usage:
Gen2Collections
Field type: int
|
Generation 2 collections during the window.
|
Full Usage:
GpuDrawCalls
Field type: int64 voption
|
Draw calls of the last frame.
|
Full Usage:
GpuPrimitives
Field type: int64 voption
|
Primitives of the last frame.
|
Full Usage:
GpuTextureBinds
Field type: int64 voption
|
Texture binds of the last frame.
|
Full Usage:
SimStepsPerSecond
Field type: float32
|
Simulation steps per second. With a fixed step this counts every step, not every frame.
|
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.
|
Full Usage:
TotalFrames
Field type: int64
|
Total host frames since the profiler was created.
|
Full Usage:
UpdateMs
Field type: float32
|
Mean cost of the update phase, in milliseconds.
|
Full Usage:
WorstFrameMs
Field type: float32
|
Worst host frame interval in the window, in milliseconds.
|
Mibo