About the ticks collect

4 views
Skip to first unread message

daniel tian

unread,
Nov 15, 2011, 3:16:04 AM11/15/11
to mv5...@googlegroups.com
Hi, Jiayuan:
I found a a weird problem. I need to collect the iknl operation
the running time.
Here is my pattern:

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

Jiayuan Meng

unread,
Nov 17, 2011, 1:24:39 AM11/17/11
to mv5...@googlegroups.com
Hi Daniel,

First, sorry for the late reply... I'm having a conference this week. 

I'm not sure what is exactly causing your problem. This shouldn't happen... Maybe you can send me your benchmark and I'll try to repeat your results and see what is going wrong.

Thanks,

Jiayuan
Reply all
Reply to author
Forward
0 new messages