Glib::Timer Class Reference
Portable stop watch interface. More...
List of all members.
Detailed Description
Portable stop watch interface.
This resembles a convient and portable timer with microseconds resolution.
Constructor & Destructor Documentation
Create a new timer.
Also starts timing by calling start() implicitly.
Member Function Documentation
double Glib::Timer::elapsed |
( |
unsigned long & |
microseconds |
) |
const |
Get the elapsed time.
- Returns:
- The value in seconds. Also fills
microseconds
with the corresponding µs value.
double Glib::Timer::elapsed |
( |
|
) |
const |
Get the elapsed time.
- Returns:
- The value in seconds.
void Glib::Timer::reset |
( |
|
) |
|
void Glib::Timer::start |
( |
|
) |
|
void Glib::Timer::stop |
( |
|
) |
|
The documentation for this class was generated from the following file: