diff -r 06ff4a96d7e0 -r 2306d524ec1c configs/common/Simulation.py --- a/configs/common/Simulation.py Fri Aug 31 18:37:39 2012 -0500 +++ b/configs/common/Simulation.py Fri Aug 31 18:41:03 2012 -0500 @@ -453,6 +453,7 @@ # manually. You DON'T need to resume after just switching # CPUs if you haven't changed anything on the system level. + m5.doDrain(testsys) m5.changeToTiming(testsys) m5.switchCpus(switch_cpu_list) m5.resume(testsys) @@ -469,7 +470,7 @@ print "Switching CPUS @ tick %s" % (m5.curTick()) print "Simulation ends instruction count:%d" % \ (testsys.switch_cpus_1[0].max_insts_any_thread) - m5.drain(testsys) + m5.doDrain(testsys) m5.switchCpus(switch_cpu_list1) m5.resume(testsys) diff -r 06ff4a96d7e0 -r 2306d524ec1c src/python/m5/simulate.py --- a/src/python/m5/simulate.py Fri Aug 31 18:37:39 2012 -0500 +++ b/src/python/m5/simulate.py Fri Aug 31 18:41:03 2012 -0500 @@ -204,7 +204,6 @@ (type(system), objects.Root, objects.System) if system.getMemoryMode() != objects.params.timing: - doDrain(system) print "Changing memory mode to timing" for obj in system.descendants(): obj.changeTiming(objects.params.timing)