A set of simple timers (and time objects) used to quickly generate information about how the code is performing.
More...
Detailed Description
A set of simple timers (and time objects) used to quickly generate information about how the code is performing.
Function Documentation
perf::time_t::time_t |
( |
void |
|
) |
throw () [inline, inherited] |
void perf::time_t::increment |
( |
IN const time_t & |
t |
) |
throw () [inline, inherited] |
void perf::time_t::decrement |
( |
IN const time_t & |
t |
) |
throw () [inline, inherited] |
bool perf::time_t::isGreaterThan |
( |
IN const time_t & |
t |
) |
const throw () [inline, inherited] |
double perf::time_t::getSeconds |
( |
void |
|
) |
const throw () [inline, inherited] |
long perf::time_t::getMicroseconds |
( |
void |
|
) |
const throw () [inline, inherited] |
void perf::time_t::clear |
( |
void |
|
) |
throw () [inline, inherited] |
void perf::time_t::set |
( |
IN long |
in_sec, |
|
|
IN long |
in_usec | |
|
) |
| | throw () [inline, inherited] |
perf::Timer::~Timer |
( |
void |
|
) |
[inherited] |
perf::DebugTimer::~DebugTimer |
( |
void |
|
) |
throw () [inherited] |
time_t perf::getNow |
( |
void |
|
) |
throw () |
return time_t object containing current time
void perf::enableTimers |
( |
IN bool |
enabled |
) |
throw () |
you can disable the timing system it is better to remove verbose timers, however!
TODO: remove this function altogether?
void perf::getTimingSummary |
( |
OUT std::string & |
out |
) |
|
return a string containing (human-readable) formatted timing information
void perf::dumpTimingSummary |
( |
IO std::ostream & |
stream |
) |
|
dumps timing summary to the given stream