Gnash
0.8.11dev
|
General-purpose wall-clock timer. More...
#include <WallClockTimer.h>
Public Member Functions | |
WallClockTimer () | |
Construct a wall-clock timer. More... | |
std::uint32_t | elapsed () const |
Return time elapsed in milliseconds since construction or last call to ::restart() More... | |
void | restart () |
Restart the timer. More... | |
General-purpose wall-clock timer.
gnash::WallClockTimer::WallClockTimer | ( | ) |
Construct a wall-clock timer.
std::uint32_t gnash::WallClockTimer::elapsed | ( | ) | const |
Return time elapsed in milliseconds since construction or last call to ::restart()
References gnash::clocktime::getTicks().
void gnash::WallClockTimer::restart | ( | ) |
Restart the timer.
References gnash::clocktime::getTicks().