X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eadbe829389f23151f79257824f3164d7801bbc7..6cf83e2b8b91315daaf30dc22f610af68c6d672c:/src/plugins/host_dvfs.cpp diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index 0cca4f8c2d..d94c836dda 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -295,14 +295,14 @@ public: }); simgrid::kernel::activity::ExecImpl::on_creation.connect( [this](simgrid::kernel::activity::ExecImpl const& activity) { - if (activity.host_ == get_host()) + if (activity.get_host() == get_host()) pre_task(); }); simgrid::kernel::activity::ExecImpl::on_completion.connect( [this](simgrid::kernel::activity::ExecImpl const& activity) { // For more than one host (not yet supported), we can access the host via // simcalls_.front()->issuer->iface()->get_host() - if (activity.host_ == get_host() && iteration_running) { + if (activity.get_host() == get_host() && iteration_running) { comp_timer += activity.surf_action_->get_finish_time() - activity.surf_action_->get_start_time(); } });