gem5 v24.0.0.0
|
#include "base/statistics.hh"
#include <cassert>
#include <list>
#include <map>
#include <string>
#include <utility>
#include "base/callback.hh"
#include "base/logging.hh"
#include "sim/root.hh"
Go to the source code of this file.
Namespaces | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
namespace | gem5::statistics |
Functions | |
std::list< Info * > & | gem5::statistics::statsList () |
MapType & | gem5::statistics::statsMap () |
void | gem5::statistics::registerHandlers (Handler reset_handler, Handler dump_handler) |
void | gem5::statistics::processResetQueue () |
Process all the callbacks in the reset callbacks queue. | |
void | gem5::statistics::processDumpQueue () |
Process all the callbacks in the dump callbacks queue. | |
void | gem5::statistics::registerResetCallback (const std::function< void()> &callback) |
Register a callback that should be called whenever statistics are reset. | |
bool | gem5::statistics::enabled () |
void | gem5::statistics::enable () |
void | gem5::statistics::dump () |
Dump all statistics data to the registered outputs. | |
void | gem5::statistics::reset () |
const Info * | gem5::statistics::resolve (const std::string &name) |
void | gem5::statistics::registerDumpCallback (const std::function< void()> &callback) |
Register a callback that should be called whenever statistics are about to be dumped. | |
void | gem5::debugDumpStats () |
Variables | |
Handler | gem5::statistics::resetHandler = NULL |
Handler | gem5::statistics::dumpHandler = NULL |
CallbackQueue | gem5::statistics::dumpQueue |
CallbackQueue | gem5::statistics::resetQueue |
bool | gem5::statistics::_enabled = false |