Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
quick fix that hopefully won't break too much compilation ... the second parameter...
authorAugustin Degomme <degomme@idpann.imag.fr>
Wed, 31 Oct 2012 15:29:16 +0000 (16:29 +0100)
committerAugustin Degomme <degomme@idpann.imag.fr>
Wed, 31 Oct 2012 15:29:16 +0000 (16:29 +0100)
include/smpi/mpi.h
include/smpi/smpi.h
src/smpi/smpi_bench.c

index b626e5b..0e64fdb 100644 (file)
@@ -10,7 +10,7 @@
 #define SEED 221238
 
 #define sleep(x) smpi_sleep(x)
-#define gettimeofday(x, y) smpi_gettimeofday(x, y)
+#define gettimeofday(x, y) smpi_gettimeofday(x)
 
 #include <smpi/smpi.h>
 #include <xbt/sysdep.h>
index 784a186..e85b524 100644 (file)
@@ -474,7 +474,7 @@ XBT_PUBLIC(void) smpi_exit(int);
 */
 
 XBT_PUBLIC(unsigned int) smpi_sleep(unsigned int secs);
-XBT_PUBLIC(int) smpi_gettimeofday(struct timeval *tv, struct timezone *tz);
+XBT_PUBLIC(int) smpi_gettimeofday(struct timeval *tv);
 XBT_PUBLIC(unsigned long long) smpi_rastro_resolution (void);
 XBT_PUBLIC(unsigned long long) smpi_rastro_timestamp (void);
 XBT_PUBLIC(void) smpi_sample_1(int global, const char *file, int line,
index cf8ac0d..2732ec9 100644 (file)
@@ -168,7 +168,7 @@ unsigned int smpi_sleep(unsigned int secs)
   return secs;
 }
 
-int smpi_gettimeofday(struct timeval *tv, struct timezone *tz)
+int smpi_gettimeofday(struct timeval *tv)
 {
   double now;
   smpi_bench_end();