1 #ifndef IG_HOOK_IG_HOOK_TRACE_H 2 #define IG_HOOK_IG_HOOK_TRACE_H 48 CounterValue* next(
void );
49 unsigned long long count(
void );
51 unsigned long long value(
void );
52 unsigned long long tick(
void );
53 unsigned long long untick(
void );
54 unsigned long long add(
unsigned long long value );
55 unsigned long long add( CounterValue& x );
56 unsigned long long sub(
unsigned long long value );
57 unsigned long long sub( CounterValue& x );
58 unsigned long long max(
unsigned long long value );
59 unsigned long long max( CounterValue& x );
69 static int stacktrace(
void** addresses,
int nmax );
70 static void* tosymbol(
void* address );
71 static bool symbol(
void* address,
const char*& sym,
const char*& lib,
int& offset,
int& liboffset );
81 void* address(
void );
82 bool symbol(
const char*& sym,
const char*& lib,
int& offset,
int& liboffset );
104 #endif // IG_HOOK_IG_HOOK_TRACE_H
Value for a counter chained from a trace.
unsigned long long m_value
Nearly dummy object type to identify a counter.
unsigned long long m_count
CounterValue * m_counters
IgHookTraceAlloc * m_alloc
void * allocate(size_t bytes)