|
|
uint64_t | mReference |
| |
|
uint64_t | mStartTime |
| |
|
uint64_t | mMsActive |
| |
◆ Timer()
| mel::core::Timer::Timer |
( |
| ) |
|
Creates a new timer. The initial count value is reset to 0
◆ getLastMilliseconds()
| uint64_t mel::core::Timer::getLastMilliseconds |
( |
| ) |
const |
|
inline |
return last measured time.
◆ getMilliseconds()
| uint64_t mel::core::Timer::getMilliseconds |
( |
| ) |
const |
|
inline |
return current time as accuracy milliseconds
- Returns
- milliseconds since starttime, which by default is 0
◆ getStartTime()
| uint64_t mel::core::Timer::getStartTime |
( |
| ) |
const |
|
inline |
set start time (msecs) from when timer counts
◆ pause()
| void mel::core::Timer::pause |
( |
| ) |
|
pauses timer. All next time request will return pause time
◆ reset()
| virtual void mel::core::Timer::reset |
( |
| ) |
|
|
virtual |
Resets the timer. Sets the internal counter back to 0.
The documentation for this class was generated from the following file:
- /github/workspace/mel/include/core/Timer.h