High-resolution manual stopwatch.
More...
#include <Timer.h>
|
| | Timer () |
| | Constructs and starts a new timer.
|
| void | Reset () |
| | Resets the timer to the current time.
|
| float | Elapsed () const |
| | Returns the elapsed time since the last reset.
|
| float | ElapsedMillis () const |
| | Returns the elapsed time since the last reset.
|
High-resolution manual stopwatch.
Provides precise timing using the Windows high-performance counter. Typically used for explicit measurement of scoped work or performance-critical sections.
◆ Timer()
Constructs and starts a new timer.
◆ Elapsed()
| float Raven::Timer::Elapsed |
( |
| ) |
const |
|
inlinenodiscard |
Returns the elapsed time since the last reset.
- Returns
- Elapsed time in seconds.
◆ ElapsedMillis()
| float Raven::Timer::ElapsedMillis |
( |
| ) |
const |
|
inlinenodiscard |
Returns the elapsed time since the last reset.
- Returns
- Elapsed time in milliseconds.
◆ Reset()
| void Raven::Timer::Reset |
( |
| ) |
|
|
inline |
Resets the timer to the current time.
The documentation for this class was generated from the following file: