函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_update_shared

函数原型:static void sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct update_util_data *hook
u64time
unsigned intflags
526  sg_cpu等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(hook, structsugov_cpu, update_util)
527  sg_policy等于sg_policy
530  raw_spin_lock( & For shared policies )
532  sugov_iowait_boost() - Updates the IO boost status of a CPU
533  last_update等于time
535  Make sugov_should_update_freq() ignore the rate limit when DL* has increased the utilization.
537  如果Governor internals **********************
538  next_f等于sugov_next_freq_shared(sg_cpu, time)
540  如果fast_switch_enabledsugov_fast_switch(sg_policy, time, next_f)
542  否则sugov_deferred_update(sg_policy, time, next_f)
546  raw_spin_unlock( & For shared policies )