gem5
|
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include "base/misc.hh"
#include "sim/eventq.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/simulate.hh"
Go to the source code of this file.
Classes | |
class | PyEvent |
PyBind wrapper for Events. More... | |
Macros | |
#define | PRIO(n) c_event.attr(# n) = py::cast((int)Event::n) |
Functions | |
void | pybind_init_event (py::module &m_native) |
#define PRIO | ( | n | ) | c_event.attr(# n) = py::cast((int)Event::n) |
Referenced by pybind_init_event().
void pybind_init_event | ( | py::module & | m_native | ) |
Definition at line 105 of file event.cc.
References curEventQueue(), EventBase::Default_Pri, EventQueue::deschedule(), Event::dump(), EventQueue::dump(), ArmISA::e, PowerISA::eq, exitSimLoop(), GlobalSimLoopExitEvent::getCause(), GlobalSimLoopExitEvent::getCode(), getEventQueue(), Event::isExitEvent(), ArmISA::m, MaxTick, Event::name(), EventQueue::name(), PRIO, Event::priority(), ArmISA::q, EventQueue::reschedule(), EventQueue::schedule(), Event::scheduled(), simulate(), Event::squash(), Event::squashed(), ArmISA::t, and Event::when().
Referenced by EmbeddedPyBind::initAll().