pin_stats_reset();
pin_stats_resume();
frcontext fr1;
....
fr1.launch
fr1.wait
frcontext fr2;
....
fr2.launch
fr2.wait
pin_stats_pause();
However, when I check the m5stat.txt, the pin_ticks is larger than the
sim_ticks.
how could it be possible? Do I do sth wrong?
host_mem_usage 1185848
# Number of bytes of host memory used
host_seconds 49.70
# Real time elapsed on the host
host_tick_rate 113264948
# Simulator tick rate (ticks/s)
num_threads 130
# total number of threads
pin_ticks 6083767000
# # Number of ticks collected using Pin
sim_freq 1000000000000
# Frequency of simulated ticks
sim_seconds 0.005629
# Number of seconds simulated
sim_ticks 5629483000
# Number of ticks simulated
Thanks.
Daniel