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 clocktime::getTicks().
| void gnash::WallClockTimer::restart | ( | ) |
Restart the timer.
References clocktime::getTicks().
1.7.1