diff --git a/src/algo/sequencer_dvfs.cpp b/src/algo/sequencer_dvfs.cpp index 0bb8cae3a21fb441d8139e10f5dfd2171351dca0..d4a21c721bf7c7bc338c39c6745f471b33a32cbd 100644 --- a/src/algo/sequencer_dvfs.cpp +++ b/src/algo/sequencer_dvfs.cpp @@ -72,6 +72,7 @@ void SequencerDVFS::on_requested_call(double date) { int new_pstate = _currently_fast ? _pstate_compute_slow : _pstate_compute_fast; _decision->add_set_resource_state(_allocated_machines, new_pstate, date); + _currently_fast = !_currently_fast; } }