Cogs.Core
Public Attributes | List of all members
Cogs::Core::QualityService::FrameTimings Struct Reference

#include <QualityService.h>

Public Attributes

float frameTime
 Time from finishing the previous frame to finishing this frame. Sum of cogsTime plus idleTime.
 
float cogsTime
 Time spent in cogs this frame. Sum of cpuTime plus presentTime.
 
float cpuTime
 Time spent in cogs before presenting.
 
float presentTime
 Time spent in cogs waiting for present to return.
 
float idleTime
 Time spent outside of cogs between frames.
 

Detailed Description

Performance timings of a frame.

Definition at line 33 of file QualityService.h.

Member Data Documentation

◆ cogsTime

float Cogs::Core::QualityService::FrameTimings::cogsTime

Time spent in cogs this frame. Sum of cpuTime plus presentTime.

Definition at line 35 of file QualityService.h.

◆ cpuTime

float Cogs::Core::QualityService::FrameTimings::cpuTime

Time spent in cogs before presenting.

Definition at line 36 of file QualityService.h.

◆ frameTime

float Cogs::Core::QualityService::FrameTimings::frameTime

Time from finishing the previous frame to finishing this frame. Sum of cogsTime plus idleTime.

Definition at line 34 of file QualityService.h.

◆ idleTime

float Cogs::Core::QualityService::FrameTimings::idleTime

Time spent outside of cogs between frames.

Definition at line 38 of file QualityService.h.

◆ presentTime

float Cogs::Core::QualityService::FrameTimings::presentTime

Time spent in cogs waiting for present to return.

Definition at line 37 of file QualityService.h.


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