summaryrefslogtreecommitdiff
path: root/objects
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-02-09 17:33:28 -0500
committerNathan Binkert <binkertn@umich.edu>2005-02-09 17:33:28 -0500
commitb46baf107fb88c7b0e80664a9f9951aeaa6ba249 (patch)
tree741d5b127f34c9040358d6dc478c45988aedae89 /objects
parent061f40df08f6992bf314eb6f23315ef415e58882 (diff)
downloadgem5-b46baf107fb88c7b0e80664a9f9951aeaa6ba249.tar.xz
enable the Trace, Statistics, and Serialize param contexts.
objects/Root.mpy: Fake the param context stuff for now. sim/param.cc: Make empty vector enums work sim/serialize.cc: serialize_dir is always valid --HG-- extra : convert_revision : c46373f0f4c70e6a2f01a81c0fa6bacab72d4c4f
Diffstat (limited to 'objects')
-rw-r--r--objects/Root.mpy7
1 files changed, 7 insertions, 0 deletions
diff --git a/objects/Root.mpy b/objects/Root.mpy
index b21396e36..dd485ac73 100644
--- a/objects/Root.mpy
+++ b/objects/Root.mpy
@@ -1,4 +1,8 @@
from HierParams import HierParams
+from Serialize import Serialize
+from Statistics import Statistics
+from Trace import Trace
+
simobj Root(SimObject):
type = 'Root'
frequency = Param.Tick(200000000, "tick frequency")
@@ -9,3 +13,6 @@ simobj Root(SimObject):
full_system = Param.Bool("Full system simulation?")
hier = HierParams(do_data = False, do_events = True)
checkpoint = Param.String('', "Checkpoint file")
+ stats = Statistics()
+ trace = Trace()
+ serialize = Serialize()