|
HLIBpro
2.7
|
Timer class measuring wall clock time.
#include <TTimer.hh>
Additional Inherited Members | |
Public Member Functions inherited from TTimer | |
| TTimer (const timetype_t type=CPU_TIME) | |
| construct timer of type type | |
| TTimer & | start () |
| start timer, resets time-sum | |
| TTimer & | pause () |
| pause timer, add elapsed time to sum | |
| TTimer & | cont () |
| continue timer, set start time to current time | |
| double | elapsed () const |
| returns elapsed time without stopping timer | |
| TTimer & | wall () |
| set type of time to wall clock time | |
| TTimer & | cpu () |
| set type of time to wall cpu time | |
| TTimer & | cpu_thread () |
| set type of time to wall cpu time | |
| std::string | to_string () const |
| convert to string | |