From: Narayanan, K. <nar...@un...> - 2014-09-15 13:24:02
|
Hallo all, I am using Oprofile version 0.9.9 and use Operf command with -separate-cpu to obtain information on the following events: CPU_CLK_UNHALTED, INST_MISSES, INST_RETIRED, LLC_MISSES, LLC_REFS and BR_MISS_PRED_RETIRED with sampling rate as 1000000. The sampling rate here refers to the count flag that is specified for every event. I run the Operf command in the background and for every 1 sec, I obtain the output from Opreport which is dumped to an output file. Can I seek answers for the following questions? a) Are the values for the events that are generated every 1 sec is a cumulative sum from the previous timestamp? For ex, at timestamp T1, if there are 100 instructions retired and at timestamp T1+1, there are 200 instructions retired, can I know the event value (output) at timestamp T1+1? Is it 200 or 100? b) Can I also know for which of these events, the difference between the current and previous output is applicable? c) Besides, can I kindly know the methodology to compute the total count of instructions? Regards, Krishnaprasad |
From: Andi K. <an...@fi...> - 2014-09-15 23:10:44
|
"Narayanan, Krishnaprasad" <nar...@un...> writes: > > a) Are the values for the events that are generated every 1 sec is a > cumulative sum from the previous timestamp? For ex, at timestamp T1, > if there are 100 instructions retired and at timestamp T1+1, there are > 200 instructions retired, can I know the event value (output) at > timestamp T1+1? Is it 200 or 100? There is no timestamp, every sample happens when that many events have happened. > c) Besides, can I kindly know the methodology to compute the total > count of instructions? Use ocount. -Andi |