aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-skeleton.c
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-skeleton.c
parent333221862ecbebde60dd16e7ca17d26444e62f50 (diff)
downloadglibc-6103c0a8116960527708e8fc030a6c043cf51bb5.zip
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.gz
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.bz2
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-skeleton.c')
-rw-r--r--benchtests/bench-skeleton.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/benchtests/bench-skeleton.c b/benchtests/bench-skeleton.c
index 37625c4..854151e 100644
--- a/benchtests/bench-skeleton.c
+++ b/benchtests/bench-skeleton.c
@@ -48,14 +48,11 @@ main (int argc, char **argv)
memset (&runtime, 0, sizeof (runtime));
- unsigned long iters, res;
+ unsigned long iters = 1000;
#ifdef BENCH_INIT
BENCH_INIT ();
#endif
- TIMING_INIT (res);
-
- iters = 1000 * res;
json_init (&json_ctx, 2, stdout);