函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpufreq_schedutil.c Create Date:2022-07-27 10:45:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Governor internals **********************

函数原型:static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time)

返回类型:bool

参数:

类型参数名称
struct sugov_policy *sg_policy
u64time
88  如果非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则返回:false
91  如果此条件成立可能性小(为编译器优化)(limits_changed)则
92  limits_changed = false
93  need_freq_update = true
94  返回:true
97  delta_ns等于timelast_freq_update_time
99  返回:delta_ns大于等于freq_update_delay_ns
调用者
名称描述
sugov_update_single
sugov_update_shared