Minor changes to reflect state used for regression stats.
authorKevin Lim <ktlim@umich.edu>
Wed, 19 Jul 2006 20:09:34 +0000 (16:09 -0400)
committerKevin Lim <ktlim@umich.edu>
Wed, 19 Jul 2006 20:09:34 +0000 (16:09 -0400)
src/cpu/checker/cpu.hh:
    Don't count checker's instructions towards total instructions committed.
src/python/m5/objects/Root.py:
    Set default clock to 1 THz.

--HG--
extra : convert_revision : 0b5eaa197c860c361a3b00087e45ddc249ff1918

src/cpu/checker/cpu.hh
src/python/m5/objects/Root.py

index a508c56ba27701e2cbf90e4d5582185274e6ae55..6d6ae1e0a1ef65c32fa3e90b44a2598b114a0e53 100644 (file)
@@ -170,7 +170,7 @@ class CheckerCPU : public BaseCPU
 
     virtual Counter totalInstructions() const
     {
-        return numInst - startNumInst;
+        return 0;
     }
 
     // number of simulated loads
index 373475a7a86c43a600dd0c1c7b48114fb4b0ef19..33dd2262029926628375469683bbe435efefc6b0 100644 (file)
@@ -7,7 +7,7 @@ from Debug import Debug
 
 class Root(SimObject):
     type = 'Root'
-    clock = Param.RootClock('200MHz', "tick frequency")
+    clock = Param.RootClock('1THz', "tick frequency")
     max_tick = Param.Tick('0', "maximum simulation ticks (0 = infinite)")
     progress_interval = Param.Tick('0',
         "print a progress message every n ticks (0 = never)")