![]() |
Raven Engine v0.1
|
Holds the name, elapsed time, and threshold for a timer. More...
#include <Timer.h>
Public Member Functions | |
| TimerData (std::string name, float time, float threshold) | |
Public Attributes | |
| std::string | Name |
| The name of the timer. | |
| float | ElapsedTime |
| The elapsed time since the timer was started. | |
| float | Threshold |
| The threshold for the timer. | |
Holds the name, elapsed time, and threshold for a timer.
This struct is used to store the name of the timer, the elapsed time since it was started, and an optional threshold for performance measurement.
|
inline |
| float Raven::TimerData::ElapsedTime |
The elapsed time since the timer was started.
This is measured in seconds.
| std::string Raven::TimerData::Name |
The name of the timer.
This is used to identify the timer in logs or reports.
| float Raven::TimerData::Threshold |
The threshold for the timer.
This is used to determine if the elapsed time exceeds a certain limit.