Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpufreq_schedutil.c Create Date:2022-07-28 09:44:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Governor internals **********************

Proto:static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time)

Type:bool

Parameter:

TypeParameterName
struct sugov_policy *sg_policy
u64time
88  If Not pufreq_this_cpu_can_update - Check if cpufreq policy can be updated.*@policy: cpufreq policy to check.* Return 'true' if:* - the local and remote CPUs share @policy,* - dvfs_possible_from_any_cpu is set in @policy and the local CPU is not going Then Return false
91  If Value for the false possibility is greater at compile time(limits_changed) Then
92  limits_changed = false
93  need_freq_update = true
94  Return true
97  delta_ns = time - last_freq_update_time
99  Return delta_ns >= freq_update_delay_ns
Caller
NameDescribe
sugov_update_single
sugov_update_shared