Re: timing an application [results]

From: Maciej Soltysiak (solt@dns.toxicfilms.tv)
Date: Wed Jan 15 2003 - 07:21:19 EST


Thanks for all your input on this.

I am using rdtsc, works great.
But a funny thing happens.
Here are the results for a block of code that counts the number players
who are fighting: (in a mud)

A) Pentium II 350, 2.4.20-grsec
about 700us with 250k CPU cycles

B) Pentium IV 1,5 ghz 2.4.20-lowlatency-preemt-aa
about 800us with 130k CPU cycles.

Maybe it is because the patches, but it seems that P4 does the same
longer but with less CPU cycles. Could that be correct?
Maybe something there is inacurate?

Regards,
Maciej Soltysiak

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:54 EST