diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-02-06 22:14:19 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-02-06 22:14:19 -0800 |
commit | dfa8cbeb06b7556753c26b97978924c1f4a24699 (patch) | |
tree | 5c47168bd2d8794612d385cc12277c5212660e40 /src/sim/System.py | |
parent | c41fc138e78420c72d8dada805a16c96f74f631b (diff) | |
download | gem5-dfa8cbeb06b7556753c26b97978924c1f4a24699.tar.xz |
m5: added work completed monitoring support
Diffstat (limited to 'src/sim/System.py')
-rw-r--r-- | src/sim/System.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sim/System.py b/src/sim/System.py index e2d5b279b..fd707c353 100644 --- a/src/sim/System.py +++ b/src/sim/System.py @@ -47,6 +47,20 @@ class System(SimObject): physmem = Param.PhysicalMemory(Parent.any, "physical memory") mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") + work_item_id = Param.Int(-1, "specific work item id") + work_begin_cpu_id_exit = Param.Int(-1, + "work started on specific id, now exit simulation") + work_begin_ckpt_count = Param.Counter(0, + "create checkpoint when work items begin count value is reached") + work_begin_exit_count = Param.Counter(0, + "exit simulation when work items begin count value is reached") + work_end_ckpt_count = Param.Counter(0, + "create checkpoint when work items end count value is reached") + work_end_exit_count = Param.Counter(0, + "exit simulation when work items end count value is reached") + work_cpus_ckpt_count = Param.Counter(0, + "create checkpoint when active cpu count value is reached") + if buildEnv['FULL_SYSTEM']: abstract = True boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, |