1 /* xbt/time.h -- Time tools */
2 /* Usable in simulator, (or in real life when mixing with GRAS) */
4 /* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
5 * All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "xbt/misc.h" /* SG_BEGIN_DECL */
16 * Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS).
18 XBT_PUBLIC(double) xbt_time(void);
19 XBT_PUBLIC(void) xbt_sleep(double sec);