+
+ Cpu::onSpeedChange();
+}
+
+void CpuCas01::updateState(tmgr_trace_iterator_t event_type, double value, double date)
+{
+ lmm_variable_t var = NULL;
+ lmm_element_t elem = NULL;
+
+ if (event_type == p_speedEvent) {
+ /* TODO (Hypervisor): do the same thing for constraint_core[i] */
+ xbt_assert(m_core == 1, "FIXME: add speed scaling code also for constraint_core[i]");
+
+ m_speedScale = value;
+ onSpeedChange();
+
+ tmgr_trace_event_unref(&p_speedEvent);