Dear All, 

I use following command to run the simulation, 
./build/ALPHA_FS/m5.opt ./configs/example/fs.py --detailed --caches --l2cache
--checkpoint-restore=1 -n 1

I want to get CPU utilization rate from stats.txt. 
I find there is two values 

system.switch_cpus.numCycles                 14300435                       #
number of cpu cycles simulated

system.switch_cpus.idleCycles                   46450                       #
Total number of cycles that the CPU has spent unscheduled due to idling

Do I get CPU utilization by (numCycles-idleCycles)/numCycles?

Is there any other values(like stall or idle) I should take into account? 

Thank you, 
Best
 

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to