gem5  v22.1.0.0
Namespaces | Functions | Variables
statistics.cc File Reference
#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

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 
 gem5::statistics
 

Functions

 gem5::GEM5_DEPRECATED_NAMESPACE (Stats, statistics)
 
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. More...
 
void gem5::statistics::processDumpQueue ()
 Process all the callbacks in the dump callbacks queue. More...
 
void gem5::statistics::registerResetCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are reset. More...
 
bool gem5::statistics::enabled ()
 
void gem5::statistics::enable ()
 
void gem5::statistics::dump ()
 Dump all statistics data to the registered outputs. More...
 
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. More...
 
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
 

Generated on Wed Dec 21 2022 10:22:53 for gem5 by doxygen 1.9.1