get rid of the "resume" step at the end of changeToTiming/Atomic because this will...
authorLisa Hsu <hsul@eecs.umich.edu>
Mon, 23 Oct 2006 22:45:30 +0000 (18:45 -0400)
committerLisa Hsu <hsul@eecs.umich.edu>
Mon, 23 Oct 2006 22:45:30 +0000 (18:45 -0400)
--HG--
extra : convert_revision : 7530cf140844e18cc26df80057f8760f29ec952b

src/python/m5/__init__.py

index 03e0508fb365e57a5aa2a5aad9470284b96345b7..d41fd5a6162e8da9330363f6bd67ee095813e630 100644 (file)
@@ -150,7 +150,6 @@ def changeToAtomic(system):
     doDrain(system)
     print "Changing memory mode to atomic"
     system.changeTiming(cc_main.SimObject.Atomic)
-    resume(system)
 
 def changeToTiming(system):
     if not isinstance(system, objects.Root) and not isinstance(system, objects.System):
@@ -159,7 +158,6 @@ def changeToTiming(system):
     doDrain(system)
     print "Changing memory mode to timing"
     system.changeTiming(cc_main.SimObject.Timing)
-    resume(system)
 
 def switchCpus(cpuList):
     print "switching cpus"
@@ -190,7 +188,6 @@ def switchCpus(cpuList):
     cc_main.cleanupCountedDrain(drain_event)
     # Now all of the CPUs are ready to be switched out
     for old_cpu in old_cpus:
-        print "switching"
         old_cpu._ccObject.switchOut()
     index = 0
     for new_cpu in new_cpus: