gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions | Variables
core.cc File Reference
#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
 

Function Documentation

◆ init_drain()

static void init_drain ( py::module &  m_native)
static

◆ init_loader()

static void init_loader ( py::module &  m_native)
static

Definition at line 203 of file core.cc.

References ArmISA::m, and Loader::setInterpDir().

Referenced by pybind_init_core().

◆ init_net()

static void init_net ( py::module &  m_native)
static

Definition at line 177 of file core.cc.

References ArmISA::m.

Referenced by pybind_init_core().

◆ init_range()

static void init_range ( py::module &  m_native)
static

◆ init_serialize()

static void init_serialize ( py::module &  m_native)
static

Definition at line 129 of file core.cc.

References ArmISA::m.

Referenced by pybind_init_core().

◆ pybind_init_core()

void pybind_init_core ( py::module &  m_native)

Variable Documentation

◆ compileDate

const char* compileDate

Definition at line 29 of file date.cc.

Referenced by pybind_init_core(), and PybindSimObjectResolver::resolveSimObject().

◆ flag_DEBUG

const bool flag_DEBUG = false

Definition at line 87 of file core.cc.

Referenced by pybind_init_core(), and PybindSimObjectResolver::resolveSimObject().

◆ flag_NDEBUG

const bool flag_NDEBUG = false

Definition at line 92 of file core.cc.

Referenced by pybind_init_core().

◆ flag_TRACING_ON

const bool flag_TRACING_ON = TRACING_ON

Definition at line 94 of file core.cc.

Referenced by pybind_init_core().

◆ gem5Version

const char* gem5Version

Definition at line 29 of file version.cc.

Referenced by pybind_init_core(), and PybindSimObjectResolver::resolveSimObject().

◆ pybindSimObjectResolver

PybindSimObjectResolver pybindSimObjectResolver

Definition at line 69 of file core.cc.


Generated on Mon Jun 8 2020 15:45:17 for gem5 by doxygen 1.8.13