Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I forgot it.
authordonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 13 Jul 2007 14:42:06 +0000 (14:42 +0000)
committerdonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 13 Jul 2007 14:42:06 +0000 (14:42 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3767 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/time.h [new file with mode: 0644]

diff --git a/include/xbt/time.h b/include/xbt/time.h
new file mode 100644 (file)
index 0000000..20ebc93
--- /dev/null
@@ -0,0 +1,21 @@
+/* xbt/time.h -- Time tools                                                                                            */
+/* Usable in simulator, (or in real life when mixing with GRAS)             */
+
+/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
+
+SG_BEGIN_DECL()
+
+/**
+ *
+ * Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS). 
+ */
+
+XBT_PUBLIC(double) xbt_os_time(void);
+XBT_PUBLIC(void) xbt_os_sleep(double sec);
+
+SG_END_DECL()