-void CpuCas01::updateState(tmgr_trace_event_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]");
+/** @brief take into account changes of speed (either load or max) */
+void CpuCas01::onSpeedChange() {
+ lmm_variable_t var = NULL;
+ lmm_element_t elem = NULL;