High resolution timer for testing performance.
More...
#include <PerformanceTimer.h>
High resolution timer for testing performance.
◆ PerformanceTimer() [1/2]
sf::PerformanceTimer::PerformanceTimer |
( |
| ) |
|
Default constructor. Initializes the timer and resets it.
◆ PerformanceTimer() [2/2]
◆ elapse() [1/2]
TimeSpec sf::PerformanceTimer::elapse |
( |
| ) |
|
Returns the current elapsed time in seconds since the last reset.
◆ elapse() [2/2]
Returns the current elapsed time in seconds since the last reset.
◆ elapseMSec()
unsigned long sf::PerformanceTimer::elapseMSec |
( |
| ) |
|
Returns the current elapsed time in milli seconds since the last reset.
◆ elapseUSec()
unsigned long sf::PerformanceTimer::elapseUSec |
( |
| ) |
|
Returns the current elapsed time in micro seconds since the last reset.
◆ operator=()
◆ reset()
void sf::PerformanceTimer::reset |
( |
| ) |
|
Resets the time to start measuring.
◆ _start
The documentation for this class was generated from the following file: