gem5 v24.0.0.0
Loading...
Searching...
No Matches
The Trace API.
#define DTRACE(x)
 
#define DPRINTF_UNCONDITIONAL(x, ...)
 

Detailed Description

These methods relate to the selective debugging trace facility.

Macro Definition Documentation

◆ DPRINTF_UNCONDITIONAL

#define DPRINTF_UNCONDITIONAL ( x,
... )
Value:
GEM5_DEPRECATED_MACRO_STMT(DPRINTF_UNCONDITIONAL, \
do { \
if (TRACING_ON) { \
::gem5::trace::getDebugLogger()->dprintf_flag( \
::gem5::curTick(), name(), #x, __VA_ARGS__); \
} \
} while (0), \
"Use DPRINTFN or DPRINTF with a debug flag instead.")
const std::string & name()
Definition trace.cc:48
#define DPRINTF_UNCONDITIONAL(x,...)
Definition trace.hh:252
Tick curTick()
The universal simulation clock.
Definition cur_tick.hh:46

Definition at line 252 of file trace.hh.

Referenced by TEST().

◆ DTRACE

#define DTRACE ( x)
Value:
GEM5_DEPRECATED_MACRO(DTRACE, debug::x, \
"Replace DTRACE(x) with debug::x.")
#define DTRACE(x)
Definition debug.hh:171

Definition at line 171 of file debug.hh.


Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0