#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 102 of file stats.cc.
References Stats::Group::addStatGroup(), Stats::Info::baseCheck(), Stats::Output::begin(), Stats::Output::beginGroup(), Stats::DistData::bucket_size, cast_stat_info(), Stats::Info::check(), Stats::DistData::cvec, Stats::DistInfo::data, Stats::Info::desc, Stats::Info::enable(), Stats::enable(), Stats::enabled(), Stats::Output::end(), Stats::Output::endGroup(), Stats::Info::flags, Stats::Group::getStatGroups(), Stats::Units::Base::getUnitString(), Stats::Info::id, Stats::initHDF5(), Stats::initSimStats(), Stats::initText(), Stats::DistData::logs, ArmISA::m, Stats::DistData::max_val, Stats::DistData::min_val, name(), Stats::Info::name, Stats::DistData::overflow, 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::VectorInfo::result(), Stats::schedStatEvent(), Stats::VectorInfo::size(), Stats::DistData::squares, Stats::statsList(), Stats::FormulaInfo::str(), Stats::VectorInfo::subdescs, Stats::VectorInfo::subnames, Stats::DistData::sum, Stats::ScalarInfo::total(), Stats::VectorInfo::total(), Stats::DistData::underflow, Stats::Info::unit, Stats::updateEvents(), Stats::Output::valid(), Stats::ScalarInfo::value(), Stats::VectorInfo::value(), Stats::Info::visit(), and Stats::Info::zero().