Config: call to setWorkCountOptions() for all ISAs
authorNilay Vaish <nilay@cs.wisc.edu>
Thu, 7 Jun 2012 13:05:31 +0000 (08:05 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Thu, 7 Jun 2012 13:05:31 +0000 (08:05 -0500)
configs/example/fs.py

index d505443f0ee8f9e1190493a863d145b79d02dd8a..a6d4869f39478884bf5424a02d6a84af5481ccc4 100644 (file)
@@ -100,12 +100,10 @@ elif buildEnv['TARGET_ISA'] == "sparc":
     test_sys = makeSparcSystem(test_mem_mode, bm[0])
 elif buildEnv['TARGET_ISA'] == "x86":
     test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0])
-    Simulation.setWorkCountOptions(test_sys, options)
 elif buildEnv['TARGET_ISA'] == "arm":
     test_sys = makeArmSystem(test_mem_mode,
             options.machine_type, bm[0],
             bare_metal=options.bare_metal)
-    Simulation.setWorkCountOptions(test_sys, options)
 else:
     fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA'])
 
@@ -183,4 +181,5 @@ if options.timesync:
 if options.frame_capture:
     VncServer.frame_capture = True
 
+Simulation.setWorkCountOptions(test_sys, options)
 Simulation.run(options, root, test_sys, FutureClass)