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 v2] Use HP_TIMING for benchmarks if available


From: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Mon, 13 May 2013 13:26:54 +0530

> On Mon, May 13, 2013 at 09:48:19AM +0200, Andreas Schwab wrote:
>> 
>> Please add a comment.
>> 
> 
> Done.  Updated patch.
> 
> Siddhesh
> 
> 	* benchtests/Makefile (CPPFLAGS-nonlib): Add
> 	-DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
> 	(bench-deps): Add bench-timing.h.
> 	* benchtests-bench-skeleton.c: Include bench-timing.h.
> 	(main): Use TIMING_* macros instead of clock_gettime.
> 	* benchtests/bench-timing.h: New file.

This looks fine to me, thanks for doing this work.


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