函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_next_freq - Compute a new frequency for a given cpufreq policy

函数原型:static unsigned int get_next_freq(struct sugov_policy *sg_policy, unsigned long util, unsigned long max)

返回类型:unsigned int

参数:

类型参数名称
struct sugov_policy *sg_policy
unsigned longutil
unsigned longmax
172  policy等于policy
173  freq等于如果arch_scale_freq_invariant()则max_freq否则 in kHz, only needed if cpufreq * governors are used
176  freq等于map_util_freq(util, freq, max)
178  如果freq恒等于cached_raw_freq且非need_freq_update则返回:next_freq
181  need_freq_update = false
182  cached_raw_freq等于freq
183  返回:cpufreq_driver_resolve_freq(policy, freq)
调用者
名称描述
sugov_update_single
sugov_next_freq_shared