gem5
v20.1.0.0
|
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include "python/pybind11/core.hh"
#include <ctime>
#include "base/addr_range.hh"
#include "base/inet.hh"
#include "base/loader/elf_object.hh"
#include "base/logging.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) |
static void | init_loader (py::module &m_native) |
void | pybind_init_core (py::module &m_native) |
Variables | |
PybindSimObjectResolver | pybindSimObjectResolver |
const char * | compileDate |
const char * | gem5Version |
const bool | flag_DEBUG = false |
const bool | flag_NDEBUG = false |
const bool | flag_TRACING_ON = TRACING_ON |
|
static |
Definition at line 97 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 |
Definition at line 203 of file core.cc.
References ArmISA::m, and Loader::setInterpDir().
Referenced by pybind_init_core().
|
static |
|
static |
Definition at line 142 of file core.cc.
References AddrRange::end(), AddrRange::granularity(), 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 211 of file core.cc.
References ListenSocket::allDisabled(), clockFrequencyFixed(), compileDate, curTick(), ListenSocket::disableAll(), doExitCleanup(), Logger::FATAL, fixClockFrequency(), flag_DEBUG, flag_NDEBUG, flag_TRACING_ON, gem5Version, getClockFrequency(), Logger::HACK, Logger::INFO, Random::init(), init_drain(), init_loader(), init_net(), init_range(), init_serialize(), ListenSocket::loopbackOnly(), MaxTick, Logger::PANIC, pybindSimObjectResolver, random_mt, Serializable::serializeAll(), setClockFrequency(), Logger::setLevel(), setOutputDir(), ArmISA::t, Serializable::unserializeGlobals(), and Logger::WARN.
Referenced by EmbeddedPyBind::initAll().
const bool flag_DEBUG = false |
Definition at line 87 of file core.cc.
Referenced by pybind_init_core().
const bool flag_NDEBUG = false |
Definition at line 92 of file core.cc.
Referenced by pybind_init_core().
const bool flag_TRACING_ON = TRACING_ON |
Definition at line 94 of file core.cc.
Referenced by pybind_init_core().
PybindSimObjectResolver pybindSimObjectResolver |
Definition at line 69 of file core.cc.
Referenced by pybind_init_core().