gem5
v21.0.1.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/temperature.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 98 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 204 of file core.cc.
References ArmISA::m, and Loader::setInterpDir().
Referenced by pybind_init_core().
|
static |
|
static |
Definition at line 143 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 212 of file core.cc.
References ListenSocket::allDisabled(), clockFrequencyFixed(), compileDate, curTick(), ListenSocket::disableAll(), doExitCleanup(), Logger::FATAL, fixClockFrequency(), flag_DEBUG, flag_NDEBUG, flag_TRACING_ON, Temperature::fromCelsius(), Temperature::fromFahrenheit(), Temperature::fromKelvin(), 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, SimClock::Int::s, Serializable::serializeAll(), setClockFrequency(), Logger::setLevel(), setOutputDir(), ArmISA::t, Temperature::toCelsius(), Temperature::toFahrenheit(), Temperature::toKelvin(), Serializable::unserializeGlobals(), and Logger::WARN.
Referenced by EmbeddedPyBind::initAll().
const bool flag_DEBUG = false |
Definition at line 88 of file core.cc.
Referenced by pybind_init_core().
const bool flag_NDEBUG = false |
Definition at line 93 of file core.cc.
Referenced by pybind_init_core().
const bool flag_TRACING_ON = TRACING_ON |
Definition at line 95 of file core.cc.
Referenced by pybind_init_core().
PybindSimObjectResolver pybindSimObjectResolver |
Definition at line 70 of file core.cc.
Referenced by pybind_init_core().