Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
adding test example to trace process migration using the mask TRACE_PROCESS
[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 Martin Quinson. All rights reserved.                  */
5
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. */
8
9 #include "xbt/misc.h"           /* SG_BEGIN_DECL */
10
11 SG_BEGIN_DECL()
12
13 /**
14  *
15  * Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS). 
16  */
17 XBT_PUBLIC(double) xbt_time(void);
18 XBT_PUBLIC(void) xbt_sleep(double sec);
19
20 SG_END_DECL()