This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use HP_TIMING for benchmarks if available


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]