Sim: Fix Simulation.py to allow more than 1 core for standard switching.
authorAnthony Gutierrez <atgutier@umich.edu>
Mon, 4 Apr 2011 16:42:31 +0000 (11:42 -0500)
committerAnthony Gutierrez <atgutier@umich.edu>
Mon, 4 Apr 2011 16:42:31 +0000 (11:42 -0500)
commit332adcdd1a11301a229f7c70a40f6ffd1270b3bf
tree7353dbec93cebcc65d2e2e23b2ad50de171afca2
parentb20e92e1ca36486b9f01fa7df7e8cc8a87d17dcb
Sim: Fix Simulation.py to allow more than 1 core for standard switching.

This patch moves the assignment of testsys.switch_cpus, testsys.switch_cpus_1,
switch_cpu_list, and switch_cpu_list1 outside of the for loop so they are
assigned only once, after switch_cpus and switch_cpus_1 are constructed.
configs/common/Simulation.py