Public Member Functions | |
| void | start () |
| The task is started. | |
| void | start_child () |
| We activate a child. | |
| void | stop_child () |
| We just left a child. | |
| void | stop () |
| The task is left. | |
| void | clear () |
| Reset to 0. | |
| bool | operator< (const TimeVar &rhs) const |
| Comparison between two TimeVars. | |
Comparison to 0. | |
Whether elapsed is not null. | |
| operator bool () const | |
| bool | operator! () const |
| Whether elapsed is null. | |
Friends | |
| class | Timer |
| class | Bencher |
Definition at line 189 of file timer.hh.
| bool operator< | ( | const TimeVar & | rhs | ) | const |
Comparison between two TimeVars.
This operators enables the use of std::min and std::max. It check only the total time, so it's a strict weak ordering.
1.5.1