Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only initialize comm_self when it is used (saves a lot of memory when a large number...
[simgrid.git] / include / smpi / mpi.h
index b08f1cea63dc611f7d0cb0356ee0e8d99abd1946..d840c9a8dd79136cdbee07fff51d846de44a5bb8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010-2012. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -9,6 +9,9 @@
 
 #define SEED 221238
 
+#define sleep(x) smpi_sleep(x)
+#define gettimeofday(x, y) smpi_gettimeofday(x)
+
 #include <smpi/smpi.h>
 #include <xbt/sysdep.h>
 #include <xbt/log.h>