Hi all,
I want to run a simulation in the Full System mode and with detailed CPU. How
can I make the CPUs remain busy(active) during the entire simulation? I have
been looking through the source code (cpu.cc file) and I found the following
snippet in 'tick()' function:
if (!activityRec.active() || _status == Idle) {
DPRINTF(O3CPU, "Idle!\n");
lastRunningCycle = curCycle();
timesIdled++;
}
If I remove '!activityRec.active()' in the condition, 'wakeCPU' function, which
wakes the CPU from idle mode, is not called. However I still find that the CPUs
have idle cycles during the simulation. Can anybody please let me know which
function makes the CPUs go to idle(sleep mode)? I appreciate any hint.
Thank you very much,
Shervin
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users