函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_iowait_apply() - Apply the IO boost to a CPU

函数原型:static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, unsigned long util, unsigned long max)

返回类型:unsigned long

参数:

类型参数名称
struct sugov_cpu *sg_cpu
u64time
unsigned longutil
unsigned longmax
399  如果非iowait_boost则返回:util
403  如果sugov_iowait_reset() - Reset the IO boost status of a CPU则返回:util
406  如果非iowait_boost_pending
410  iowait_boost右移等于1位
411  如果iowait_boost小于IOWAIT_BOOST_MIN
412  iowait_boost等于0
413  返回:util
417  iowait_boost_pending = false
423  boost等于iowait_boostmax右移Increase resolution of cpu_capacity calculations
424  返回:max(boost, util)
调用者
名称描述
sugov_update_single
sugov_next_freq_shared