> 3) Linux 2.4.5, PIII-800/100:
> We measure 3 samples, 1 iterations each:
> For Loop overhead time = 33 ct best,
> 36 ct avg, 43 ct max, 3 cnt
> Gethrtime() time = 66 ct best,
> 73 ct avg, 89 ct max, 3 cnt
> gettimeofday() time = 454 ct best,
> 2118 ct avg, 5312 ct max, 3 cnt
In the 2.5 timeframe this will be turned into a vsyscall, costing exactly
one
function call. No protection mode change, TLB flush, cache invalidation or
pipeline stall.
Maybe even gethrtime will get the same treatment, I'm not sure.
Not a very significant change in the overall architecture, but it will help
:)
-- /kinkieReceived on Fri Sep 21 2001 - 01:02:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:22 MST