Skip to content
Snippets Groups Projects
Commit d6c913b0 authored by Millian Poquet's avatar Millian Poquet
Browse files

code: fix sequencer_dvfs pstate toggle

parent 39891ba5
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ void SequencerDVFS::on_requested_call(double date) ...@@ -72,6 +72,7 @@ void SequencerDVFS::on_requested_call(double date)
{ {
int new_pstate = _currently_fast ? _pstate_compute_slow : _pstate_compute_fast; int new_pstate = _currently_fast ? _pstate_compute_slow : _pstate_compute_fast;
_decision->add_set_resource_state(_allocated_machines, new_pstate, date); _decision->add_set_resource_state(_allocated_machines, new_pstate, date);
_currently_fast = !_currently_fast;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment