97 Profiler(
const char *name,
bool showOnDestruct =
false);
116 Profiler(
const char *,
bool =
false) { }
WorstCallMap m_worstCalls
std::pair< clock_t, RealTime > TimePair
std::map< const char *, TimePair > WorstCallMap
static Profiles * m_instance
std::map< const char *, ProfilePair > ProfileMap
std::map< const char *, TimePair > LastCallMap
static Profiles * getInstance()
std::pair< int, TimePair > ProfilePair
Profiler(const char *name, bool showOnDestruct=false)
Create a profile point instance that records time consumed against the given profiling point name.
void accumulate(const char *id, clock_t time, RealTime rt)
Profile point instance class.
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...