Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite the platform_script.lua used by the test for lua console.
[simgrid.git] / include / xbt / time.h
1 /* xbt/time.h -- Time tools                                                                                             */
2 /* Usable in simulator, (or in real life when mixing with GRAS)             */
3
4 /* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
5  * All rights reserved.                                                     */
6
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. */
9
10 #include "xbt/misc.h"           /* SG_BEGIN_DECL */
11
12 SG_BEGIN_DECL()
13
14 /**
15  *
16  * Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS). 
17  */
18 XBT_PUBLIC(double) xbt_time(void);
19 XBT_PUBLIC(void) xbt_sleep(double sec);
20
21 SG_END_DECL()