函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_next_freq_shared

函数原型:static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time)

返回类型:unsigned int

参数:

类型参数名称
struct sugov_cpu *sg_cpu
u64time
501  sg_policy等于sg_policy
502  policy等于policy
503  util等于0, max等于1
507  j_sg_cpu等于per_cpu(sugov_cpu, j)
510  j_util等于sugov_get_util(j_sg_cpu)
511  j_max等于max
512  j_util等于sugov_iowait_apply() - Apply the IO boost to a CPU
514  如果j_utilmax大于j_maxutil
515  util等于j_util
516  max等于j_max
520  返回:get_next_freq - Compute a new frequency for a given cpufreq policy
调用者
名称描述
sugov_update_shared