Lines Matching defs:Stats
60 namespace Stats {
84 .def("initSimStats", &Stats::initSimStats)
85 .def("initText", &Stats::initText, py::return_value_policy::reference)
87 .def("initHDF5", &Stats::initHDF5)
90 &Stats::registerPythonStatsHandlers)
91 .def("schedStatEvent", &Stats::schedStatEvent)
92 .def("periodicStatDump", &Stats::periodicStatDump)
93 .def("updateEvents", &Stats::updateEvents)
94 .def("processResetQueue", &Stats::processResetQueue)
95 .def("processDumpQueue", &Stats::processDumpQueue)
96 .def("enable", &Stats::enable)
97 .def("enabled", &Stats::enabled)
98 .def("statsList", &Stats::statsList)
101 py::class_<Stats::Output>(m, "Output")
102 .def("begin", &Stats::Output::begin)
103 .def("end", &Stats::Output::end)
104 .def("valid", &Stats::Output::valid)
105 .def("beginGroup", &Stats::Output::beginGroup)
106 .def("endGroup", &Stats::Output::endGroup)
109 py::class_<Stats::Info, std::unique_ptr<Stats::Info, py::nodelete>>(
111 .def_readwrite("name", &Stats::Info::name)
112 .def_readonly("desc", &Stats::Info::desc)
113 .def_readonly("id", &Stats::Info::id)
114 .def_property_readonly("flags", [](const Stats::Info &info) {
115 return (Stats::FlagsType)info.flags;
117 .def("check", &Stats::Info::check)
118 .def("baseCheck", &Stats::Info::baseCheck)
119 .def("enable", &Stats::Info::enable)
120 .def("prepare", &Stats::Info::prepare)
121 .def("reset", &Stats::Info::reset)
122 .def("zero", &Stats::Info::zero)
123 .def("visit", &Stats::Info::visit)
126 py::class_<Stats::Group, std::unique_ptr<Stats::Group, py::nodelete>>(
128 .def("regStats", &Stats::Group::regStats)
129 .def("resetStats", &Stats::Group::resetStats)
130 .def("getStats", &Stats::Group::getStats)
131 .def("getStatGroups", &Stats::Group::getStatGroups)
132 .def("addStatGroup", &Stats::Group::addStatGroup)