Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::TimerData Struct Reference

Stores metadata for recorded timing sessions. More...

#include <Timer.h>

Public Member Functions

 TimerData (std::string name, float time, float threshold)
 Constructs a new TimerData entry.

Public Attributes

std::string Name
 Name of the timed operation.
float ElapsedTime
 Duration of the measured operation in milliseconds.
float Threshold
 Optional threshold for performance comparison.

Detailed Description

Stores metadata for recorded timing sessions.

Holds the name, elapsed time, and an optional threshold for profiling comparisons.

Constructor & Destructor Documentation

◆ TimerData()

Raven::TimerData::TimerData ( std::string name,
float time,
float threshold )
inline

Constructs a new TimerData entry.

Parameters
nameName of the timer.
timeElapsed time in milliseconds.
thresholdThreshold value or -1 if none.

Member Data Documentation

◆ ElapsedTime

float Raven::TimerData::ElapsedTime

Duration of the measured operation in milliseconds.

◆ Name

std::string Raven::TimerData::Name

Name of the timed operation.

◆ Threshold

float Raven::TimerData::Threshold

Optional threshold for performance comparison.


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