42#include "pybind11/pybind11.h"
43#include "pybind11/stl.h"
54namespace py = pybind11;
89 py::module_ m_debug = m_native.def_submodule(
"debug");
92 .def(
"getAllFlagsVersion",
99 py::class_<debug::Flag> c_flag(m_debug,
"Flag");
105 .def_property(
"tracing",
121 py::class_<debug::SimpleFlag>(m_debug,
"SimpleFlag", c_flag)
124 py::class_<debug::CompoundFlag>(m_debug,
"CompoundFlag", c_flag)
129 py::module_ m_trace = m_native.def_submodule(
"trace");
ObjectMatch contains a vector of expressions.
OutputStream * create(const std::string &name, bool binary=false, bool no_gz=false)
Creates a file in this directory (optionally compressed).
OutputStream * find(const std::string &name) const
Finds stream associated with an open file or stdout/stderr.
std::ostream * stream() const
Get the output underlying output stream.
const std::vector< Flag * > & kids() const
bool isFormat() const
Checks whether this flag is a conventional debug flag, or a flag that modifies the way debug informat...
Logging wrapper for ostreams with the format: <when>: <name>: <message-body>
void enable()
Enable/disable debug logging.
void setDebugLogger(Logger *logger)
Delete the current global logger and assign a new one.
Logger * getDebugLogger()
Get the current global debug logger.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
void pybind_init_debug(py::module_ &m_native)
static void ignore(const char *expr)
static void activate(const char *expr)
static void output(const char *filename)
void schedBreak(Tick when)
Cause the simulator to execute a breakpoint.