1 /* xbt/time.h -- Time tools */
2 /* Usable in simulator, (or in real life when mixing with GRAS) */
4 /* Copyright (c) 2007 Martin Quinson. All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
9 #include "xbt/misc.h" /* SG_BEGIN_DECL */
15 * 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);