diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-21 11:31:45 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-21 11:31:45 -0700 |
commit | 7c8925fd2bf3834084106073c2592443bf5d6235 (patch) | |
tree | 48f08f68221ca2bdd3f61ffa9a98cb4cbb831c1b | |
parent | 0d65bc2213df608729b2b2ecc2599077d425db82 (diff) | |
download | glibc-hjl/benchtests/wall-time.tar.gz |
Force to use clock_gettimehjl/benchtests/wall-time
-rw-r--r-- | benchtests/bench-timing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h index 09f4486515..957752a783 100644 --- a/benchtests/bench-timing.h +++ b/benchtests/bench-timing.h @@ -19,6 +19,10 @@ #include <hp-timing.h> #include <stdint.h> +/* Force to use clock_gettime. */ +#undef USE_CLOCK_GETTIME +#define USE_CLOCK_GETTIME + #if HP_TIMING_AVAIL && !defined USE_CLOCK_GETTIME # define GL(x) _##x # define GLRO(x) _##x |