Re: gettimeofday order of magnitude slower with pmtimer, which is default

From: Con Kolivas
Date: Tue Mar 21 2006 - 06:56:28 EST


On Tuesday 21 March 2006 19:53, Andreas Mohr wrote:
> (and the fact that invoking a function pointer should be similarly
> expensive to a conditional) I don't think it's useful.

Is

*blah();

as expensive as

if (conditional)
blah();

I don't know the answer. I just know cmp is expensive. Comments?

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