summaryrefslogtreecommitdiff
path: root/tools/bench/benchtime.h
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-02-06 13:12:50 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-02-06 13:12:50 +0000
commit4901076ded69d112422b6407010b3e50cc3fc6d3 (patch)
tree9935c68bb7e32b72c35be57c469519fa0bda71a4 /tools/bench/benchtime.h
parent46462042bdd04dc9a7a0a3f024237353f76108df (diff)
downloadmpc-4901076ded69d112422b6407010b3e50cc3fc6d3.tar.gz
bench: Speed up tests by executing each one for only 0.1s.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1447 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tools/bench/benchtime.h')
-rw-r--r--tools/bench/benchtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bench/benchtime.h b/tools/bench/benchtime.h
index 77ba27f..034618e 100644
--- a/tools/bench/benchtime.h
+++ b/tools/bench/benchtime.h
@@ -50,7 +50,7 @@ __attribute__ ((__unused__)) int nop)\
double TIME_NOP##func(int n, mpc_t* z, mpc_t* x, mpc_t* y) \
{ \
double t; unsigned long int nbcall, mytime; \
- for (nbcall = 1, mytime=0; mytime<250000; nbcall<<=1) \
+ for (nbcall = 1, mytime=0; mytime<100000; nbcall<<=1) \
{ \
mytime = ACCURATE_TIME_NOP##func(nbcall, n, z, x, y, nop); \
} \