gem5  v21.1.0.2
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.")

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.")

Definition at line 160 of file debug.hh.

gem5::curTick
Tick curTick()
The universal simulation clock.
Definition: cur_tick.hh:46
gem5::Trace::Logger::dprintf_flag
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
gem5::Trace::getDebugLogger
Logger * getDebugLogger()
Get the current global debug logger.
Definition: trace.cc:69
DTRACE
#define DTRACE(x)
Definition: debug.hh:160
DPRINTF_UNCONDITIONAL
#define DPRINTF_UNCONDITIONAL(x,...)
Definition: trace.hh:228
gem5::RiscvISA::x
Bitfield< 3 > x
Definition: pagetable.hh:73
name
const std::string & name()
Definition: trace.cc:49

Generated on Tue Sep 21 2021 12:27:01 for gem5 by doxygen 1.8.17