函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_start

函数原型:static int sugov_start(struct cpufreq_policy *policy)

返回类型:int

参数:

类型参数名称
struct cpufreq_policy *policy
835  sg_policy等于governor_data
838  freq_update_delay_ns等于rate_limit_usNSEC_PER_USEC
839  last_freq_update_time等于0
840  next_freq等于0
841  work_in_progress = false
842  limits_changed = false
843  need_freq_update = false
844  cached_raw_freq等于0
847  sg_cpu等于per_cpu(sugov_cpu, cpu)
849  memset(sg_cpu, 0, sg_cpu的长度)
850  cpu等于cpu
851  sg_policy等于sg_policy
855  sg_cpu等于per_cpu(sugov_cpu, cpu)
857  pufreq_add_update_util_hook - Populate the CPU's update_util_data pointer
862  返回:0