Gnash  0.8.10
Public Member Functions
gnash::WallClockTimer Class Reference

General-purpose wall-clock timer. More...

#include <WallClockTimer.h>

List of all members.

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.

Detailed Description

General-purpose wall-clock timer.


Constructor & Destructor Documentation

gnash::WallClockTimer::WallClockTimer ( )

Construct a wall-clock timer.


Member Function Documentation

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().


The documentation for this class was generated from the following files: