This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Use HP_TIMING for benchmarks if available
- From: David Miller <davem at davemloft dot net>
- To: siddhesh at redhat dot com
- Cc: schwab at suse dot de, libc-alpha at sourceware dot org
- Date: Mon, 13 May 2013 01:08:37 -0700 (PDT)
- Subject: Re: [PATCH v2] Use HP_TIMING for benchmarks if available
- References: <20130513073851 dot GD25336 at spoyarek dot pnq dot redhat dot com> <mvmbo8fz5fg dot fsf at hawking dot suse dot de> <20130513075654 dot GG25336 at spoyarek dot pnq dot redhat dot com>
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.