Gnash
0.8.10
|
General-purpose wall-clock timer. More...
#include <WallClockTimer.h>
Public Member Functions | |
WallClockTimer () | |
Construct a wall-clock timer. | |
boost::uint32_t | elapsed () const |
Return time elapsed in milliseconds since construction or last call to ::restart() | |
void | restart () |
Restart the timer. |
General-purpose wall-clock timer.
gnash::WallClockTimer::WallClockTimer | ( | ) |
Construct a wall-clock timer.
boost::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().