gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 252 of file trace.hh.

◆ DTRACE

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

Definition at line 171 of file debug.hh.

gem5::curTick
Tick curTick()
The universal simulation clock.
Definition: cur_tick.hh:46
DTRACE
#define DTRACE(x)
Definition: debug.hh:171
gem5::VegaISA::x
Bitfield< 4 > x
Definition: pagetable.hh:61
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:93
gem5::trace::getDebugLogger
Logger * getDebugLogger()
Get the current global debug logger.
Definition: trace.cc:68
DPRINTF_UNCONDITIONAL
#define DPRINTF_UNCONDITIONAL(x,...)
Definition: trace.hh:252
name
const std::string & name()
Definition: trace.cc:48

Generated on Sun Jul 30 2023 01:57:06 for gem5 by doxygen 1.8.17