gem5  v20.1.0.0
Namespaces | Functions | Variables
statistics.cc File Reference
#include "base/statistics.hh"
#include <fstream>
#include <iomanip>
#include <list>
#include <map>
#include <string>
#include "base/callback.hh"
#include "base/cprintf.hh"
#include "base/debug.hh"
#include "base/hostinfo.hh"
#include "base/logging.hh"
#include "base/str.hh"
#include "base/time.hh"
#include "base/trace.hh"
#include "sim/root.hh"

Go to the source code of this file.

Namespaces

 Stats
 

Functions

list< Info * > & Stats::statsList ()
 
MapType & Stats::statsMap ()
 
NameMapType & Stats::nameMap ()
 
bool Stats::validateStatName (const string &name)
 
void Stats::registerHandlers (Handler reset_handler, Handler dump_handler)
 
void Stats::processResetQueue ()
 Process all the callbacks in the reset callbacks queue. More...
 
void Stats::processDumpQueue ()
 Process all the callbacks in the dump callbacks queue. More...
 
void Stats::registerResetCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are reset. More...
 
bool Stats::enabled ()
 
void Stats::enable ()
 
void Stats::dump ()
 Dump all statistics data to the registered outputs. More...
 
void Stats::reset ()
 
const Info * Stats::resolve (const std::string &name)
 
void Stats::registerDumpCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are about to be dumped. More...
 
void debugDumpStats ()
 

Variables

int Stats::debug_break_id = -1
 
Handler Stats::resetHandler = NULL
 
Handler Stats::dumpHandler = NULL
 
CallbackQueue Stats::dumpQueue
 
CallbackQueue Stats::resetQueue
 
bool Stats::_enabled = false
 

Function Documentation

◆ debugDumpStats()

void debugDumpStats ( )

Definition at line 597 of file statistics.cc.

References Stats::dump().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17