Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Virtu functions into the gras_os_ namespace
[simgrid.git] / src / gras / Virtu / rl_time.c
index c65d261..f9d8074 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras_private.h"
 #include <sys/time.h>   /* gettimeofday() */
 
-double gras_time() {
+double gras_os_time() {
   struct timeval tv;
 
   gettimeofday(&tv, NULL);
@@ -19,7 +19,7 @@ double gras_time() {
   return (double)(tv.tv_sec * 1000000 + tv.tv_usec);
 }
  
-void gras_sleep(unsigned long sec,unsigned long usec) {
+void gras_os_sleep(unsigned long sec,unsigned long usec) {
   sleep(sec);
   if (usec/1000000) sleep(usec/1000000);