Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
moved macros that rewruite calls to sleep and gettimeofday to smpi.h
[simgrid.git] / include / smpi / smpi.h
index ce54b09..a104544 100644 (file)
@@ -12,6 +12,9 @@
 #include <xbt/misc.h>
 #include <xbt/function_types.h>
 
+#define sleep(x) smpi_sleep(x)
+#define gettimeofday(x, y) smpi_gettimeofday(x, y)
+
 #define MPI_CALL(type,name,args) \
   type name args __attribute__((weak)); \
   type P##name args