Go to the documentation of this file.
11 #ifndef IG_HOOK_IG_HOOK_TRACE_H
12 #define IG_HOOK_IG_HOOK_TRACE_H
56 unsigned long long count(
void );
58 unsigned long long value(
void );
59 unsigned long long tick(
void );
60 unsigned long long untick(
void );
61 unsigned long long add(
unsigned long long value );
63 unsigned long long sub(
unsigned long long value );
65 unsigned long long max(
unsigned long long value );
78 static bool symbol(
void*
address,
const char*& sym,
const char*& lib,
int& offset,
int& liboffset );
89 bool symbol(
const char*& sym,
const char*& lib,
int& offset,
int& liboffset );
111 #endif // IG_HOOK_IG_HOOK_TRACE_H
IgHookTrace * parent(void)
CounterValue(Counter *counter, CounterValue *next=0, unsigned long long value=0)
void * allocate(size_t bytes)
unsigned long long max(unsigned long long value)
unsigned long long count(void)
CounterValue * m_counters
IgHookTrace * child(void *address)
CounterValue * next(void)
unsigned long long value(void)
CounterValue * counter(Counter *id)
unsigned long long sub(unsigned long long value)
unsigned long long tick(void)
CounterValue * counters(void)
static int stacktrace(void **addresses, int nmax)
static bool symbol(void *address, const char *&sym, const char *&lib, int &offset, int &liboffset)
unsigned long long m_count
static void * tosymbol(void *address)
Value for a counter chained from a trace.
unsigned long long untick(void)
IgHookTrace * children(void)
unsigned long long m_value
void merge(IgHookTrace *other)
IgHookTraceAlloc * m_alloc
Nearly dummy object type to identify a counter.
IgHookTrace(IgHookTrace *parent=0, void *address=0)
unsigned long long add(unsigned long long value)