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
Update copyright lines with new year.
[simgrid.git]
/
examples
/
s4u
/
exec-monitor
/
s4u-exec-monitor.cpp
diff --git
a/examples/s4u/exec-monitor/s4u-exec-monitor.cpp
b/examples/s4u/exec-monitor/s4u-exec-monitor.cpp
index
3c18917
..
65fd8ac
100644
(file)
--- a/
examples/s4u/exec-monitor/s4u-exec-monitor.cpp
+++ b/
examples/s4u/exec-monitor/s4u-exec-monitor.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2017-201
8
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-201
9
. 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. */
@@
-11,7
+11,7
@@
static void monitor(simgrid::s4u::ExecPtr activity)
{
while (not activity->test()) {
XBT_INFO("activity remaining duration: %g (%.0f%%)", activity->get_remaining(),
{
while (not activity->test()) {
XBT_INFO("activity remaining duration: %g (%.0f%%)", activity->get_remaining(),
- 100 * activity->get
RemainingR
atio());
+ 100 * activity->get
_remaining_r
atio());
simgrid::s4u::this_actor::sleep_for(5);
}
XBT_INFO("My task is over.");
simgrid::s4u::this_actor::sleep_for(5);
}
XBT_INFO("My task is over.");