Hello

You used both -s (standard switch) and --fast-forward flags. The -s flag forces 
a cpu switch at the beginning of the simulation (Switch at instruction count:0) 
and --fast-forward triggers another switch later in the execution (Switching 
CPUS @ tick 5123120000). You can look into gem5/configs/common/Simulation.py to 
see what events trigger these two flags and understand the messages you mention.

Hope this helps!

B.R.
Alexandru



________________________________
From: Mahmood Naderan <[email protected]>
To: gem5 users mailing list <[email protected]>
Sent: Friday, August 12, 2011 9:36 AM
Subject: [gem5-users] "starting simulation..." message in SE/detailed

Hi
In SE mode, I use "-d --fast-forward=100000 --maxinsts=1000 -s". In
the output however I see:

Switched CPUS @ tick 123120000
switching cpus
Switch at instruction count:0
info: Entering event queue @ 123120000.  Starting simulation...
info: Increasing stack size by one page.
Switching CPUS @ tick 5123120000
Simulation ends instruction count:1000
info: Entering event queue @ 5123120000.  Starting simulation...
switching cpus
**** REAL SIMULATION ****
info: Entering event queue @ 5123121000.  Starting simulation...

Can someone explain why there are *three* starting simulation
messages? I expect *two* starting messages.

Sart fast forward
switch
start detailed simulation

Regards,
-- 
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to