[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:
Adam Dobrowolski
2022-03-08 16:48:14 +01:00
committed by Adam Dobrowolski
parent aacd665eb9
commit 43cd960523
17 changed files with 230 additions and 47 deletions

View 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
};
}