mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
20 lines
452 B
Plaintext
20 lines
452 B
Plaintext
@startuml
|
|
#lightblue :12 MHz;
|
|
|
|
partition "**loop** UpdateCpuFrequency interval" {
|
|
while ((__cpuLoad__ > __frequencyShiftUpperThreshold)__ __maxAboveThresholdCount__ time in a row) is (no)
|
|
|
|
endwhile (yes)
|
|
|
|
note right
|
|
Minimum execution time:
|
|
__maxAboveThresholdCount__ * __UpdateCpuFrequencyInterval__
|
|
====
|
|
Currently it is 3 * 100 ms = <b> 300ms </b>
|
|
end note
|
|
}
|
|
:IncreaseCpuFrequency();
|
|
|
|
#lightblue :528 MHz;
|
|
@enduml
|