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()
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()