Skip to main content

FrameStats Struct

Contains timing statistics for a single frame. More...

Declaration

struct helios::engine::tooling::FrameStats { ... }

Public Member Attributes Index

floattotalFrameTime = 0.0f

Total frame time in seconds. More...

floatworkTime = 0.0f

CPU processing time in seconds. More...

floatwaitTime = 0.0f

Idle time in seconds. More...

Description

Contains timing statistics for a single frame.

This structure holds detailed timing information about a frame's execution, including work time (actual CPU processing) and wait time (idle time from frame pacing).

info

All time values are specified in **seconds**.

Definition at line 19 of file FrameStats.ixx.

Public Member Attributes

totalFrameTime

float helios::engine::tooling::FrameStats::totalFrameTime = 0.0f

Total frame time in seconds.

The sum of workTime and waitTime. Represents the complete duration of the frame from start to synchronization. This value corresponds to the `deltaTime` used for game logic. Total frame time in seconds.

Definition at line 27 of file FrameStats.ixx.

27 float totalFrameTime = 0.0f; /**< Total frame time in seconds. */

waitTime

float helios::engine::tooling::FrameStats::waitTime = 0.0f

Idle time in seconds.

The time spent sleeping/waiting by the FramePacer to maintain the target frame rate. This is 0.0f if no frame pacing is active or if the frame took longer than the target time. Idle time in seconds.

Definition at line 44 of file FrameStats.ixx.

44 float waitTime = 0.0f; /**< Idle time in seconds. */

workTime

float helios::engine::tooling::FrameStats::workTime = 0.0f

CPU processing time in seconds.

The actual time spent executing frame logic, rendering, and other computational tasks before synchronization. CPU processing time in seconds.

Definition at line 35 of file FrameStats.ixx.

35 float workTime = 0.0f; /**< CPU processing time in seconds. */

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.