A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
last bunch of codacy treats for tonight. Stop.
[simgrid.git]
/
include
/
xbt
/
xbt_os_time.h
diff --git
a/include/xbt/xbt_os_time.h
b/include/xbt/xbt_os_time.h
index
36aac64
..
47f33be
100644
(file)
--- a/
include/xbt/xbt_os_time.h
+++ b/
include/xbt/xbt_os_time.h
@@
-1,13
+1,12
@@
/* xbt/xbt_os_timer.h -- system dependency on time functions */
/* xbt/xbt_os_timer.h -- system dependency on time functions */
-/* Copyright (c) 2007, 2009-2010, 2012-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2007-2017. The SimGrid Team. 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. */
/* 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. */
-#ifndef
_
XBT_OS_TIMER_H
-#define
_
XBT_OS_TIMER_H
+#ifndef XBT_OS_TIMER_H
+#define XBT_OS_TIMER_H
#include <xbt/misc.h> /* XBT_PUBLIC */
#include <stddef.h> /* size_t */
#include <xbt/misc.h> /* XBT_PUBLIC */
#include <stddef.h> /* size_t */
@@
-15,9
+14,9
@@
SG_BEGIN_DECL()
/** @brief get time in seconds
SG_BEGIN_DECL()
/** @brief get time in seconds
-
-
* gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).
-
*/
+ *
+ * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).
+ */
XBT_PUBLIC(double) xbt_os_time(void);
XBT_PUBLIC(void) xbt_os_sleep(double sec);
XBT_PUBLIC(double) xbt_os_time(void);
XBT_PUBLIC(void) xbt_os_sleep(double sec);