|
Scopira
20080306
|
#include <timeslice.h>
Public Member Functions | |
| timeslice (const char *prefix) | |
| ~timeslice () | |
| destructor | |
Friends | |
| class | scopira::agent::subtimeslice |
A RAII timing object to aid in code performance profiling. This will emit a report upon destruction.
| scopira::agent::timeslice::timeslice | ( | const char * | prefix | ) |
Basic constructor. Will report time upon destruction.
| prefix | the output prefix to print when printing the report If this is null, no report will be printed (useful to disable a timeslice) |