host->pimpl_cpu->set_speed_profile(args->speed_trace);
if (args->pstate != 0)
host->pimpl_cpu->set_pstate(args->pstate);
- if (args->coord && strcmp(args->coord, ""))
+ if (not args->coord.empty())
new simgrid::kernel::routing::vivaldi::Coords(host->pimpl_netpoint, args->coord);
}
int core_amount = 0;
profile::Profile* speed_trace = nullptr;
profile::Profile* state_trace = nullptr;
- const char* coord = nullptr;
+ std::string coord = "";
std::unordered_map<std::string, std::string>* properties = nullptr;
};