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: [v3][PATCH] Framework for performance benchmarking of functions


On 2013-02-20 21:22, Siddhesh Poyarekar wrote:
I wonder if it makes sense to calibrate the benchmarks based on an
estimate of how long a clock_gettime takes, perhaps by doing
consecutive clock_gettime calls (multiple times) and seeing results.

If you're thinking in that direction, have a look at gmp's tune/speed program, and the rather large lengths they go through to eliminate overheads.



r~



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