gem5  v22.1.0.0
The Trace API.

These methods relate to the selective debugging trace facility. More...

#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::curTick(), name(), #x, __VA_ARGS__); \
} \
} while (0), \
"Use DPRINTFN or DPRINTF with a debug flag instead.")
const std::string & name()
Definition: trace.cc:49
void dprintf_flag(Tick when, const std::string &name, const std::string &flag, const char *fmt, const Args &...args)
Log a single message with a flag prefix.
Definition: trace.hh:75
#define DPRINTF_UNCONDITIONAL(x,...)
Definition: trace.hh:228
Bitfield< 4 > x
Definition: pagetable.hh:61
Logger * getDebugLogger()
Get the current global debug logger.
Definition: trace.cc:69
Tick curTick()
The universal simulation clock.
Definition: cur_tick.hh:46

Definition at line 228 of file trace.hh.

◆ DTRACE

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

Definition at line 172 of file debug.hh.


Generated on Wed Dec 21 2022 10:23:05 for gem5 by doxygen 1.9.1