[PATCH] Use HP_TIMING for benchmarks if available
Siddhesh Poyarekar
siddhesh@redhat.com
Tue Apr 23 10:56:00 GMT 2013
On Mon, Apr 22, 2013 at 08:41:12PM +0200, OndÅej BÃlka wrote:
> I thougth instead ask in separate thread if it would be possible. It
> would make hp_timing more usable.
OK, but the correct alternative for hp_timing would be
CLOCK_MONOTONIC_RAW and not CLOCK_PROCESS_CPUTIME_ID. For
benchmarking I would prefer the latter for a lot of cases since it
does not include scheduling costs.
> You are writing here minimum and maximum in seconds.
Ahh ok, thanks. I'll fix that once your patch is reviewed and goes in.
Siddhesh
More information about the Libc-alpha
mailing list