Loading...
Searching...
No Matches
trace.h File Reference
+ Include dependency graph for trace.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TraceScopeAuto
 A class which records a timestamp when it is created and a scope event when it is destructed. More...
 
class  TraceAuto
 A class which records a begin event when it is constructed, and a matching end event when it is destructed. More...
 
class  TraceCounterHolder
 Holds on to a counter key, as well as the global collector for fast lookup. More...
 

Macros

#define TRACE_ENABLE   1
 
#define TRACE_FUNCTION()
 
#define TRACE_FUNCTION_DYNAMIC(name)
 
#define TRACE_SCOPE(name)
 
#define TRACE_SCOPE_DYNAMIC(name)
 
#define TRACE_FUNCTION_SCOPE(name)
 
#define TRACE_MARKER(name)
 
#define TRACE_MARKER_DYNAMIC(name)
 
#define TRACE_COUNTER_DELTA(name, delta)
 
#define TRACE_COUNTER_VALUE(name, value)
 

Macro Definition Documentation

◆ TRACE_COUNTER_DELTA

#define TRACE_COUNTER_DELTA (   name,
  delta 
)

Definition at line 182 of file trace.h.

◆ TRACE_COUNTER_VALUE

#define TRACE_COUNTER_VALUE (   name,
  value 
)

Definition at line 183 of file trace.h.

◆ TRACE_ENABLE

#define TRACE_ENABLE   1

Definition at line 23 of file trace.h.

◆ TRACE_FUNCTION

#define TRACE_FUNCTION ( )

Definition at line 175 of file trace.h.

◆ TRACE_FUNCTION_DYNAMIC

#define TRACE_FUNCTION_DYNAMIC (   name)

Definition at line 176 of file trace.h.

◆ TRACE_FUNCTION_SCOPE

#define TRACE_FUNCTION_SCOPE (   name)

Definition at line 179 of file trace.h.

◆ TRACE_MARKER

#define TRACE_MARKER (   name)

Definition at line 180 of file trace.h.

◆ TRACE_MARKER_DYNAMIC

#define TRACE_MARKER_DYNAMIC (   name)

Definition at line 181 of file trace.h.

◆ TRACE_SCOPE

#define TRACE_SCOPE (   name)

Definition at line 177 of file trace.h.

◆ TRACE_SCOPE_DYNAMIC

#define TRACE_SCOPE_DYNAMIC (   name)

Definition at line 178 of file trace.h.