X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8c416e92254512408c1d0ce729e8d3cf82ec9938..b8df87e176f27b25534f27d7e240defa32ca35bc:/examples/s4u/exec-monitor/s4u-exec-monitor.cpp?ds=sidebyside diff --git a/examples/s4u/exec-monitor/s4u-exec-monitor.cpp b/examples/s4u/exec-monitor/s4u-exec-monitor.cpp index 3c18917bfd..65fd8aca25 100644 --- 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-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2017-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. */ @@ -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(), - 100 * activity->getRemainingRatio()); + 100 * activity->get_remaining_ratio()); simgrid::s4u::this_actor::sleep_for(5); } XBT_INFO("My task is over.");