Classes | |
struct | time_t |
yes, my own time_t for convenience in the perf library More... | |
class | Timer |
Timer class -- just throw one of these on the stack with a unique name. More... | |
class | DebugTimer |
Typedefs | |
typedef threadsafe_map < std::string, timer_rec_t * > | map_timer_t |
typedef std::multimap< double, std::string > | map_time_name_t |
Functions | |
static void * | initializeTimer (IN const char *name) |
static void | updateTimer (IN void *context, IN const time_t &delta) throw () |
time_t | getNow (void) throw () |
return time_t object containing current time | |
void | enableTimers (IN bool enabled) throw () |
you can disable the timing system it is better to remove verbose timers, however! | |
void | getTimingSummary (OUT std::string &) |
return a string containing (human-readable) formatted timing information | |
void | dumpTimingSummary (IO std::ostream &) |
dumps timing summary to the given stream | |
Variables | |
static bool | s_timersEnabled = true |
static map_timer_t | s_timers |
typedef threadsafe_map<std::string, timer_rec_t *> perf::map_timer_t |
typedef std::multimap<double, std::string> perf::map_time_name_t |
static void* perf::initializeTimer | ( | IN const char * | name | ) | [static] |
static void perf::updateTimer | ( | IN void * | context, | |
IN const time_t & | delta | |||
) | throw () [static] |
bool perf::s_timersEnabled = true [static] |
map_timer_t perf::s_timers [static] |