X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/56136bb036c18df44cadd46cf5bd861c5bedcf0f..111463df0d9a94d78e136d3d81ff828ea96a2cac:/src/xbt/xbt_os_time.c diff --git a/src/xbt/xbt_os_time.c b/src/xbt/xbt_os_time.c index 94de59a99b..c74b4dd66f 100644 --- a/src/xbt/xbt_os_time.c +++ b/src/xbt/xbt_os_time.c @@ -32,6 +32,7 @@ XBT_PUBLIC(void) xbt_free_f(void* p) * an OS abstraction. */ +/* double xbt_os_time(void) { #ifdef HAVE_GETTIMEOFDAY struct timeval tv; @@ -39,11 +40,11 @@ double xbt_os_time(void) { gettimeofday(&tv, NULL); return (double)(tv.tv_sec + tv.tv_usec / 1000000.0); -#else +#else*/ /* Poor resolution */ - return (double)(time(NULL)); -#endif /* HAVE_GETTIMEOFDAY? */ -} +/* return (double)(time(NULL));*/ +//#endif /* HAVE_GETTIMEOFDAY? */ +//} /*XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sysdep, xbt, "System dependency");*/