gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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/misc.hh"
#include "base/str.hh"
#include "base/time.hh"
#include "base/trace.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 (Callback *cb)
 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 ()
 
void Stats::registerDumpCallback (Callback *cb)
 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

void debugDumpStats ( )

Definition at line 543 of file statistics.cc.

References Stats::dump().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6