X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdcc6f10f0ba3de1b01e4c910fa1966114350ae6..30e93357d63b0846afb6a60db2004b6761607103:/src/surf/cpu_interface.cpp diff --git a/src/surf/cpu_interface.cpp b/src/surf/cpu_interface.cpp index a4c750a063..05fbd12bf9 100644 --- a/src/surf/cpu_interface.cpp +++ b/src/surf/cpu_interface.cpp @@ -133,10 +133,6 @@ double Cpu::get_available_speed() } void Cpu::onSpeedChange() { - if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) - instr::Container::by_name(get_cname()) - ->get_variable("power") - ->set_event(surf_get_clock(), coresAmount_ * speed_.scale * speed_.peak); s4u::Host::on_speed_change(*host_); }