gem5
|
#include "pybind11/pybind11.h"
#include "python/pybind11/core.hh"
#include <ctime>
#include "base/addr_range.hh"
#include "base/inet.hh"
#include "base/misc.hh"
#include "base/random.hh"
#include "base/socket.hh"
#include "base/types.hh"
#include "sim/core.hh"
#include "sim/drain.hh"
#include "sim/serialize.hh"
#include "sim/sim_object.hh"
Go to the source code of this file.
Classes | |
class | PybindSimObjectResolver |
Resolve a SimObject name using the Pybind configuration. More... | |
Functions | |
static void | init_drain (py::module &m_native) |
static void | init_serialize (py::module &m_native) |
static void | init_range (py::module &m_native) |
static void | init_net (py::module &m_native) |
void | pybind_init_core (py::module &m_native) |
Variables | |
PybindSimObjectResolver | pybindSimObjectResolver |
const char * | compileDate |
const bool | flag_DEBUG = false |
const bool | flag_NDEBUG = false |
const bool | flag_TRACING_ON = TRACING_ON |
|
static |
Definition at line 99 of file core.cc.
References Drained, Draining, Drainable::drainState(), DrainManager::instance(), DrainManager::isDrained(), ArmISA::m, Drainable::notifyFork(), DrainManager::preCheckpointRestore(), DrainManager::resume(), Running, DrainManager::signalDrainDone(), DrainManager::state(), and DrainManager::tryDrain().
Referenced by pybind_init_core().
|
static |
|
static |
Definition at line 144 of file core.cc.
References AddrRange::end(), AddrRange::granularity(), AddrRange::hashed(), Stats::init, AddrRange::interleaved(), AddrRange::intersects(), AddrRange::isSubset(), ArmISA::m, AddrRange::mergesWith(), RangeEx(), RangeIn(), RangeSize(), AddrRange::size(), AddrRange::start(), AddrRange::stripes(), AddrRange::to_string(), and AddrRange::valid().
Referenced by pybind_init_core().
|
static |
void pybind_init_core | ( | py::module & | m_native | ) |
Definition at line 205 of file core.cc.
References ListenSocket::allDisabled(), compileDate, curTick(), ListenSocket::disableAll(), doExitCleanup(), Logger::FATAL, flag_DEBUG, flag_NDEBUG, flag_TRACING_ON, Logger::HACK, Logger::INFO, Random::init(), init_drain(), init_net(), init_range(), init_serialize(), ListenSocket::loopbackOnly(), MaxTick, Logger::PANIC, random_mt, Serializable::serializeAll(), setClockFrequency(), Logger::setLevel(), setOutputDir(), ArmISA::t, Serializable::unserializeGlobals(), and Logger::WARN.
Referenced by EmbeddedPyBind::initAll().
const char* compileDate |
Definition at line 31 of file date.cc.
Referenced by pybind_init_core().
const bool flag_DEBUG = false |
Definition at line 89 of file core.cc.
Referenced by pybind_init_core().
const bool flag_NDEBUG = false |
Definition at line 94 of file core.cc.
Referenced by pybind_init_core().
const bool flag_TRACING_ON = TRACING_ON |
Definition at line 96 of file core.cc.
Referenced by pybind_init_core().
PybindSimObjectResolver pybindSimObjectResolver |