~aleteoryx/muditaos

ref: 3cbfe43a95610ad53a00a32bbfc3bf842013966f muditaos/module-sys/SystemManager/doc/data/IncreasingCpuFreq.puml -rw-r--r-- 452 bytes
3cbfe43a — Marcin Zieliński [MOS-791] Introduce tri-state switch widget 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@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