diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2007-06-05 15:41:42 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2007-06-05 15:41:42 +0000 |
commit | 968377b6d03bc1bbc902147951987adbc8f48eb1 (patch) | |
tree | 6cd045bfceece513b84f04f0316f988817c6b655 | |
parent | 7b3a651108756091a5bea72c5416c3c51e9c5652 (diff) | |
download | mpc-968377b6d03bc1bbc902147951987adbc8f48eb1.tar.gz |
commented out include sys/time.h and timemul() routine by default
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@55 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | tmul.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -21,7 +21,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> +#ifdef TIMING #include <sys/times.h> +#endif #include "gmp.h" #include "mpfr.h" #include "mpc.h" @@ -32,8 +34,9 @@ void cmpmului (mpc_srcptr, unsigned long int, mpc_rnd_t); void cmpmulsi (mpc_srcptr, long int, mpc_rnd_t); void testmul (long, long, long, long, mp_prec_t, mpc_rnd_t); void special (void); +#ifdef TIMING void timemul (void); - +#endif void cmpmul (mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd) /* computes the product of x and y with the naive and Karatsuba methods */ @@ -350,7 +353,7 @@ special () mpc_clear (y); } - +#ifdef TIMING void timemul () { @@ -395,7 +398,7 @@ timemul () mpc_clear (y); mpc_clear (z); } - +#endif int main() @@ -406,9 +409,9 @@ main() int i; long int ysi; -/* +#ifdef TIMING timemul (); -*/ +#endif special (); |