summaryrefslogtreecommitdiff
path: root/src/sim/stat_control.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-02-17 22:52:32 -0800
committerNathan Binkert <binkertn@umich.edu>2007-02-17 22:52:32 -0800
commite94103397c58ffe05d4c5c7f536edabfb1d6861b (patch)
tree9109a4c2f22b3681c48ab6047c3223e70297db12 /src/sim/stat_control.hh
parent01f32efa4b3c25ad6323ec3e76d756b442a8f419 (diff)
downloadgem5-e94103397c58ffe05d4c5c7f536edabfb1d6861b.tar.xz
Get rid of the Statistics and Statreset ParamContexts, and
expose all of the relevant functionality to python. Clean up the mysql code while we're at it. --HG-- extra : convert_revision : 5b711202a5a452b8875ebefb136a156b65c24279
Diffstat (limited to 'src/sim/stat_control.hh')
-rw-r--r--src/sim/stat_control.hh19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/sim/stat_control.hh b/src/sim/stat_control.hh
index 67f7cc491..1efa2554e 100644
--- a/src/sim/stat_control.hh
+++ b/src/sim/stat_control.hh
@@ -31,25 +31,10 @@
#ifndef __SIM_STAT_CONTROL_HH__
#define __SIM_STAT_CONTROL_HH__
-#include <fstream>
-#include <list>
-
-class EventQueue;
-
namespace Stats {
-enum {
- Reset = 0x1,
- Dump = 0x2
-};
-
-class Output;
-extern std::list<Output *> OutputList;
-
-void DumpNow();
-void SetupEvent(int flags, Tick when, Tick repeat = 0, EventQueue *queue = NULL);
-
-void InitSimStats();
+void initSimStats();
+void StatEvent(bool dump, bool reset, Tick when = curTick, Tick repeat = 0);
/* namespace Stats */ }