~aleteoryx/muditaos

ref: b95894a8abc10cddf0b58dda4b2569b01eec0d7e muditaos/module-sys/SystemManager/doc/data/DecreasingCpuFreq.puml -rw-r--r-- 2.1 KiB
b95894a8 — Lefucjusz [MOS-1064] Fix no input language selected for French/Spanish 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@startuml
#lightblue :528 MHz;

partition "**loop** UpdateCpuFrequency interval" {
	while ((__cpuLoad__ < __frequencyShiftLowerThreshold)__ __maxBelowThresholdCount__ time in a row) is (no)
	
	endwhile (yes)
	
	note right
	  Minimum execution time:
	  __maxBelowThresholdCount__ * __UpdateCpuFrequencyInterval__
	  ====
	  Currently it is 30 * 100 ms = <b> 3s </b>
	end note
}

:DecreaseCpuFrequency();

#lightblue :264 MHz;

partition "**loop** UpdateCpuFrequency interval" {
	while ((__cpuLoad__ < __frequencyShiftLowerThreshold)__ __maxBelowThresholdInRowCount__ time in a row) is (no)
	
	endwhile (yes)
	
	note right
	  Minimum execution time:
	  __maxBelowThresholdInRowCount__ * __UpdateCpuFrequencyInterval__
	  ====
	  Currently it is 10 * 100 ms = <b> 1s </b>
	end note
}

:DecreaseCpuFrequency();

#lightblue :132 MHz;

partition "**loop** UpdateCpuFrequency interval" {
	while ((__cpuLoad__ < __frequencyShiftLowerThreshold)__ __maxBelowThresholdInRowCount__ time in a row) is (no)
	
	endwhile (yes)
	
	note right
	  Minimum execution time:
	  __maxBelowThresholdInRowCount__ * __UpdateCpuFrequencyInterval__
	  ====
	  Currently it is 10 * 100 ms = <b> 1s </b>
	end note	
}
:DecreaseCpuFrequency();

#lightblue :66 MHz;

partition "**loop** UpdateCpuFrequency interval" {
	while ((__cpuLoad__ < __frequencyShiftLowerThreshold)__ __maxBelowThresholdInRowCount__ time in a row) is (no)
	
	endwhile (yes)
	
	note right
	  Minimum execution time:
	  __maxBelowThresholdInRowCount__ * __UpdateCpuFrequencyInterval__
	  ====
	  Currently it is 10 * 100 ms = <b> 1s </b>
	end note	
}
:DecreaseCpuFrequency();

#lightblue :24 MHz;

partition "**loop** UpdateCpuFrequency interval" {
	while ((__cpuLoad__ < __frequencyShiftLowerThreshold)__ __maxBelowThresholdInRowCount__ time in a row) is (no)
	
	endwhile (yes)
	
	note right
	  Minimum execution time:
	  __maxBelowThresholdInRowCount__ * __UpdateCpuFrequencyInterval__
	  ====
	  Currently it is 10 * 100 ms = <b> 1s </b>
	end note	
}
:DecreaseCpuFrequency();

#lightblue :12 MHz;


@enduml