summary refs log tree commit diff
path: root/benchtests/bench-timing.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-04-09 11:38:24 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2019-04-09 11:38:24 +0100
commit6103c0a8116960527708e8fc030a6c043cf51bb5 (patch)
tree71f4400c93429517900f44b0df3c86af2862eddd /benchtests/bench-timing.h
parent333221862ecbebde60dd16e7ca17d26444e62f50 (diff)
downloadglibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.gz
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.xz
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.zip
Remove TIMING_INIT
Remove TIMING_INIT since it's no longer used.

	* benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
	* benchtests/bench-malloc-thread.c: Likewise.
	* benchtests/bench-skeleton.c: Likewise.
	* benchtests/bench-strtod.c: Likewise.
	* benchtests/bench-timing.h: Likewise.
Diffstat (limited to 'benchtests/bench-timing.h')
-rw-r--r--benchtests/bench-timing.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index e213dec3fd..d068bf9459 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -28,8 +28,6 @@ typedef hp_timing_t timing_t;
 
 #define TIMING_TYPE "hp_timing"
 
-#define TIMING_INIT(res) ({ (res) = 1; })
-
 #define TIMING_NOW(var) HP_TIMING_NOW (var)
 #define TIMING_DIFF(diff, start, end) HP_TIMING_DIFF ((diff), (start), (end))
 #define TIMING_ACCUM(sum, diff) HP_TIMING_ACCUM_NT ((sum), (diff))