lkml.org 
[lkml]   [2003]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: timing an application [results]
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.062 / U:25.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site