The btClock is a portable basic clock that measures accurate time in seconds, use for profiling. More...
#include <btQuickprof.h>
Public Member Functions | |
| btClock () | |
| ~btClock () | |
| void | reset () |
| Resets the initial reference time. | |
| unsigned long int | getTimeMilliseconds () |
| Returns the time in ms since the last call to reset or since the btClock was created. | |
| unsigned long int | getTimeMicroseconds () |
| Returns the time in us since the last call to reset or since the Clock was created. | |
Private Attributes | |
| struct timeval | mStartTime |
The btClock is a portable basic clock that measures accurate time in seconds, use for profiling.
Definition at line 64 of file btQuickprof.h.
| btClock::btClock | ( | ) | [inline] |
Definition at line 67 of file btQuickprof.h.
| btClock::~btClock | ( | ) | [inline] |
Definition at line 75 of file btQuickprof.h.
| unsigned long int btClock::getTimeMicroseconds | ( | ) | [inline] |
Returns the time in us since the last call to reset or since the Clock was created.
Definition at line 161 of file btQuickprof.h.
| unsigned long int btClock::getTimeMilliseconds | ( | ) | [inline] |
Returns the time in ms since the last call to reset or since the btClock was created.
Definition at line 103 of file btQuickprof.h.
| void btClock::reset | ( | ) | [inline] |
Resets the initial reference time.
Definition at line 80 of file btQuickprof.h.
struct timeval btClock::mStartTime [read, private] |
Definition at line 227 of file btQuickprof.h.
1.6.1