#include "config/use_hdf5.hh"
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include "base/statistics.hh"
#include "base/stats/text.hh"
#include "sim/stat_control.hh"
#include "sim/stat_register.hh"
Go to the source code of this file.
◆ TRY_CAST
Value: do { \
auto _stat = dynamic_cast<const T *>(info); \
if (_stat) \
return py::cast(_stat); \
} while (0)
◆ cast_stat_info()
static const py::object cast_stat_info |
( |
const Stats::Info * |
info | ) |
|
|
static |
◆ pybind_init_stats()
void pybind_init_stats |
( |
py::module & |
m_native | ) |
|
Definition at line 95 of file stats.cc.
References Stats::Group::addStatGroup(), Stats::Info::baseCheck(), Stats::Output::begin(), Stats::Output::beginGroup(), cast_stat_info(), Stats::Info::check(), Stats::Info::desc, Stats::Info::enable(), Stats::enable(), Stats::enabled(), Stats::Output::end(), Stats::Output::endGroup(), Stats::Info::flags, Stats::Group::getStatGroups(), Stats::Info::id, Stats::initHDF5(), Stats::initSimStats(), Stats::initText(), ArmISA::m, name(), Stats::Info::name, Stats::periodicStatDump(), Stats::Group::preDumpStats(), Stats::Info::prepare(), Stats::processDumpQueue(), Stats::processResetQueue(), Stats::registerPythonStatsHandlers(), Stats::Group::regStats(), Stats::Info::reset(), Stats::Group::resetStats(), Stats::ScalarInfo::result(), Stats::schedStatEvent(), Stats::statsList(), Stats::ScalarInfo::total(), Stats::updateEvents(), Stats::Output::valid(), Stats::ScalarInfo::value(), Stats::Info::visit(), and Stats::Info::zero().