summaryrefslogtreecommitdiff
path: root/sim/stat_control.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-08-24 17:51:35 -0400
committerKevin Lim <ktlim@umich.edu>2006-08-24 17:51:35 -0400
commit9ef831eeefb691eb73531471f7c04bca286f464a (patch)
tree2e55ca998a1d8387d29e12254b41d233cea63bc4 /sim/stat_control.hh
parentf9f2f8fbd0bbe3fc7b81a24ea0f628fbce37ef39 (diff)
downloadgem5-9ef831eeefb691eb73531471f7c04bca286f464a.tar.xz
Stats updates.
dev/ide_disk.cc: dev/ide_disk.hh: Add in stats. sim/stat_control.cc: sim/stat_control.hh: Allow setup event to be called with a specific queue. --HG-- extra : convert_revision : 9310b132b70f967a198cb2e646433f3a5332671e
Diffstat (limited to 'sim/stat_control.hh')
-rw-r--r--sim/stat_control.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/stat_control.hh b/sim/stat_control.hh
index a22ce76af..806c4be6b 100644
--- a/sim/stat_control.hh
+++ b/sim/stat_control.hh
@@ -32,6 +32,8 @@
#include <fstream>
#include <list>
+class EventQueue;
+
namespace Stats {
enum {
@@ -43,7 +45,7 @@ class Output;
extern std::list<Output *> OutputList;
void DumpNow();
-void SetupEvent(int flags, Tick when, Tick repeat = 0);
+void SetupEvent(int flags, Tick when, Tick repeat = 0, EventQueue *queue = NULL);
void InitSimStats();