Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sugov_next_freq_shared

Proto:static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time)

Type:unsigned int

Parameter:

TypeParameterName
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  If j_util * max > j_max * util Then
515  util = j_util
516  max = j_max
520  Return get_next_freq - Compute a new frequency for a given cpufreq policy
Caller
NameDescribe
sugov_update_shared