gem5  v20.1.0.0
Classes | Namespaces | Functions | Variables
stat_control.cc File Reference
#include "sim/stat_control.hh"
#include <fstream>
#include <iostream>
#include <list>
#include "base/callback.hh"
#include "base/hostinfo.hh"
#include "base/statistics.hh"
#include "base/time.hh"
#include "cpu/base.hh"
#include "sim/global_event.hh"

Go to the source code of this file.

Classes

struct  Stats::Global
 
class  Stats::StatEvent
 Event to dump and/or reset the statistics. More...
 

Namespaces

 Stats
 

Functions

double Stats::statElapsedTime ()
 
Tick Stats::statElapsedTicks ()
 
Tick Stats::statFinalTick ()
 
void Stats::initSimStats ()
 
void Stats::schedStatEvent (bool dump, bool reset, Tick when=curTick(), Tick repeat=0)
 Schedule statistics dumping. More...
 
void Stats::periodicStatDump (Tick period=0)
 Schedule periodic statistics dumping. More...
 
void Stats::updateEvents ()
 Update the events after resuming from a checkpoint. More...
 

Variables

Stats::Formula simSeconds
 
Stats::Value simTicks
 
Stats::Value finalTick
 
Stats::Value simFreq
 
Time Stats::statTime (true)
 
Tick Stats::startTick
 
GlobalEventStats::dumpEvent
 

Variable Documentation

◆ finalTick

Stats::Value finalTick

Definition at line 63 of file stat_control.cc.

Referenced by Stats::Global::Global().

◆ simFreq

Stats::Value simFreq

Definition at line 64 of file stat_control.cc.

Referenced by Stats::Global::Global().

◆ simSeconds

Stats::Formula simSeconds

◆ simTicks

Stats::Value simTicks

Definition at line 62 of file stat_control.cc.

Referenced by Stats::Global::Global(), and CommMonitor::samplePeriodic().


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