void TRACE_surf_host_set_speed(double date, const char *resource, double speed)
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
void TRACE_surf_host_set_speed(double date, const char *resource, double speed)
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
simgrid::instr::Type* type = container->type_->getChild("power");
new simgrid::instr::SetVariableEvent(date, container, type, speed);
}
simgrid::instr::Type* type = container->type_->getChild("power");
new simgrid::instr::SetVariableEvent(date, container, type, speed);
}
void TRACE_surf_link_set_bandwidth(double date, const char *resource, double bandwidth)
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
void TRACE_surf_link_set_bandwidth(double date, const char *resource, double bandwidth)
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
simgrid::instr::Type* type = container->type_->getChild("bandwidth");
new simgrid::instr::SetVariableEvent(date, container, type, bandwidth);
}
simgrid::instr::Type* type = container->type_->getChild("bandwidth");
new simgrid::instr::SetVariableEvent(date, container, type, bandwidth);
}