changeset 0bba1c59b4d1 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0bba1c59b4d1
description:
        SE Config: Changed se.py to support multithreaded mode
        Multithreaded programs did not run by just specifying the binary once 
on the
        command line of SE mode.The default mode is multi-programmed mode. Added
        check in SE mode to run multi-threaded programs in case only one 
program is
        specified with multiple CPUS. Default mode is still multi-programmed 
mode.

diffstat:

 configs/example/se.py |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 1df031399919 -r 0bba1c59b4d1 configs/example/se.py
--- a/configs/example/se.py     Mon Apr 16 17:51:26 2012 -0500
+++ b/configs/example/se.py     Tue Apr 17 16:12:41 2012 -0500
@@ -160,7 +160,10 @@
     fatal("You cannot use fastmem in combination with caches!")
 
 for i in xrange(np):
-    system.cpu[i].workload = multiprocesses[i]
+    if len(multiprocesses) == 1:
+        system.cpu[i].workload = multiprocesses[0]
+    else:
+        system.cpu[i].workload = multiprocesses[i]
 
     if options.fastmem:
         system.cpu[0].fastmem = True
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to