Hello all,

I want to partition a dual system simulation among two threads and run
simulation using two event queues. Here are the changes that I made in
fs.py:

+++ configs/example/fs.py    2015-07-06 13:24:22.778525679 -0500
@@ -325,9 +325,12 @@
 np = options.num_cpus

 test_sys = build_test_system(np)
+test_sys.eventq_index = 0
 if len(bm) == 2:
     drive_sys = build_drive_system(np)
+    drive_sys.eventq_index = 1
     root = makeDualRoot(True, test_sys, drive_sys, options.etherdump)
+    root.sim_quantum = 1000000
 elif len(bm) == 1:
     root = Root(full_system=True, system=test_sys)
 else:


I get "segmentation fault" after I start simulation:

build/ARM/gem5.opt configs/example/fs.py --dual
...
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
Segmentation fault (core dumped)

Am I missing something?

Thanks,
Mohammad
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to