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
s4u::Actor: Rename migrate() into set_host()
[simgrid.git]
/
include
/
simgrid
/
chrono.hpp
diff --git
a/include/simgrid/chrono.hpp
b/include/simgrid/chrono.hpp
index
d3759ca
..
72d9fa8
100644
(file)
--- a/
include/simgrid/chrono.hpp
+++ b/
include/simgrid/chrono.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2016
-2019
. 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. */
@@
-37,7
+37,8
@@
namespace simgrid {
* @endcode
*
*/
* @endcode
*
*/
-struct SimulationClock {
+class SimulationClock {
+public:
using rep = double;
using period = std::ratio<1>;
using duration = std::chrono::duration<rep, period>;
using rep = double;
using period = std::ratio<1>;
using duration = std::chrono::duration<rep, period>;