mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-02 19:08:54 -05:00
fixed hold frequency algorithm behaviour added basic tests for frequecy changing updated catch for newer gcc tests added
16 lines
397 B
C++
16 lines
397 B
C++
// 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
|
|
};
|
|
}
|