X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0879f7b24ef5f62121c260ef9d22054e10e0e078..40616078da72e823931c1fb884949054699ec39d:/src/surf/instr_routing.cpp diff --git a/src/surf/instr_routing.cpp b/src/surf/instr_routing.cpp index 8ec439459d..8386f557fb 100644 --- a/src/surf/instr_routing.cpp +++ b/src/surf/instr_routing.cpp @@ -245,7 +245,7 @@ void sg_instr_new_host(simgrid::s4u::Host& host) speed = PJ_type_variable_new ("power", nullptr, container->type); } - double current_speed_state = host.getPstateSpeedCurrent(); + double current_speed_state = host.speed(); new_pajeSetVariable (0, container, speed, current_speed_state); } if (TRACE_uncategorized()){