mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-23 16:40:22 -04:00
[MOS-278] Fixed frequency hold algorithm behaviour
fixed hold frequency algorithm behaviour added basic tests for frequecy changing updated catch for newer gcc tests added
This commit is contained in:
committed by
Adam Dobrowolski
parent
aacd665eb9
commit
43cd960523
15
module-sys/SystemManager/cpu/algorithm/AlgorithmChange.hpp
Normal file
15
module-sys/SystemManager/cpu/algorithm/AlgorithmChange.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
||||
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace sys::cpu::algorithm
|
||||
{
|
||||
enum class Change
|
||||
{
|
||||
UpScaled, /// frequency risen
|
||||
Downscaled, /// frequency downscaled
|
||||
Hold, /// frequency requested to be held
|
||||
NoChange /// nothing to do
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user