Re: Accuracy of profiling

Andrew Haley <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On 06/05/2015 07:11 AM, Mahmood N wrote:

> Another thing is that I expect the same number of
> RETIRED_INSTRUCTIONS since bzip2 has a number of fixed static
> instructions (input file in the same in both runs) and doesn't
> matter how many times it is executed.

I think these are the hardware counters: they don't sample anything,
and they are the absolute numbers.  So what causes differences?
Interrupts, interaction with I/O devices, and so on.  I would never
expect two runs to be identical.

Andrew.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.