Hi, thanks for your answer According to you ,should I use sim_second for computer performance?
I need to compute performance by these equations: performance=1/execution time execution time=cpu clock cycles/clock rate cpu clock cycles =instruction count *CPI Can I use sim_second instead of execution time on these equations ? or How can I compute CPI and instruction or cpu clock cycles ,If I don't value of execution time? ////////////////////////////////////////////////////////////////////////////////// On 5/6/21 10:47 AM, FARIDEH ZIAEE via gem5-users wrote: > Hi, > I have the following questions about simulation statistics: > > final_tick 9724380737064 > host_inst_rate 79246 > host_mem_usage 1185244 > host_op_rate 87406 > host_seconds 68211.69 > host_tick_rate 129205119 > sim_freq 1000000000000 > sim_insts 5405536979 > sim_ops 5962076897 > sim_seconds 8.813299 > sim_ticks 8813298942669 > > What is the difference between host_seconds and sim_second? host_seconds is real world time spent simulating on your workstation, sim_second is how much time was simulated : it took 68211 seconds to simulate 8.8 seconds > Which one is used to run time(execution time) between host_second and > sim_second? Not sure I understand but any performance metric or the simulated system will use sim_second. host_second is only helpful to gauge the speed at which gem5 simulates (KIPS/MIPS) > What is the difference between final_tick and sim_ticks? sim_ticks is how many ticks were simulated (so it should be equal to sim_seconds * ticks_per_second). final_tick is the value of curTick() when simulation exited. If you start from tick 0, then final_tick and sim_ticks should be the same (I think), but if you restore from a checkpoint they will differ for sure. > What do these parameters(host_inst_rate , host_op_rate , > host_tick_rate , sim_freq , sim_insts ) mean? > host_inst_rate is how many instructions gem5 simulates per second (79KIPS). host_op_rate is the same but for uops (one instruction can be expanded to multiple uops). host_tick_rate is the same but for ticks (essentially, one unit of simulated time takes how many real world units of time to be processed). sim_freq is clockspeed you are running at sim_insts is how many instructions were simulated (pretty self explanatory imho). Arthur
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
