| glibmm
    2.38.0
    | 
Portable stop watch interface. More...
#include <glibmm/timer.h>
| Public Member Functions | |
| Timer () | |
| Create a new timer.  More... | |
| ~Timer () | |
| void | start () | 
| void | stop () | 
| void | reset () | 
| double | elapsed () const | 
| Get the elapsed time.  More... | |
| double | elapsed (unsigned longµseconds) const | 
| Get the elapsed time.  More... | |
Portable stop watch interface.
This resembles a convient and portable timer with microseconds resolution.
| Glib::Timer::Timer | ( | ) | 
Create a new timer.
Also starts timing by calling start() implicitly.
| Glib::Timer::~Timer | ( | ) | 
| double Glib::Timer::elapsed | ( | ) | const | 
Get the elapsed time.
| double Glib::Timer::elapsed | ( | unsigned long & | microseconds | ) | const | 
Get the elapsed time.
microseconds with the corresponding µs value. | void Glib::Timer::reset | ( | ) | 
| void Glib::Timer::start | ( | ) | 
| void Glib::Timer::stop | ( | ) | 
 1.8.3.1
 1.8.3.1