/* 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. */
#include "src/instr/instr_private.hpp"
#include "src/kernel/resource/CpuImpl.hpp"
#include "src/kernel/resource/NetworkModel.hpp"
#include "src/instr/instr_private.hpp"
#include "src/kernel/resource/CpuImpl.hpp"
#include "src/kernel/resource/NetworkModel.hpp"
for (auto const& [_, child] : root->get_children()) {
recursiveNewVariableType(new_typename, color, child.get());
for (auto const& [_, child] : root->get_children()) {
recursiveNewVariableType(new_typename, color, child.get());
kernel::routing::NetPoint::on_creation.connect([](kernel::routing::NetPoint const& netpoint) {
if (netpoint.is_router())
new RouterContainer(netpoint.get_name(), currentContainer.back());
kernel::routing::NetPoint::on_creation.connect([](kernel::routing::NetPoint const& netpoint) {
if (netpoint.is_router())
new RouterContainer(netpoint.get_name(), currentContainer.back());
if (TRACE_smpi_is_enabled() && TRACE_smpi_is_computing()) {
s4u::Exec::on_start_cb([](s4u::Exec const& exec) {
if (TRACE_smpi_is_enabled() && TRACE_smpi_is_computing()) {
s4u::Exec::on_start_cb([](s4u::Exec const& exec) {
->get_state("MPI_STATE")
->push_event("computing", new CpuTIData("compute", exec.get_cost()));
});
s4u::Activity::on_completion_cb([](const s4u::Activity&) {
->get_state("MPI_STATE")
->push_event("computing", new CpuTIData("compute", exec.get_cost()));
});
s4u::Activity::on_completion_cb([](const s4u::Activity&) {