This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Performance regression testing?
On Mon, 2005-11-28 at 17:55 -0800, Mike Stump wrote:
> My feeling is that we should have such a suite. I'd favor a micro
> style, where we are measuring clock cycles (on machines that can
> expose them x86/v9), [...]
A while ago I looked at rdtsc on x86-linux, but I couldn't find a way,
other than statistical / multiple runs and take minimum, to known
how many context switch happened between two points in the measured
code. Is this number available in some ways?
Laurent