函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_rq:* util_sum = \Sum se->avg.util_sum but se->avg.util_sum is not tracked* util_sum = cpu_scale * load_sum* runnable_load_sum = load_sum* load_avg and runnable_load_avg are not supported and meaningless.

函数原型:int update_rt_rq_load_avg(u64 now, struct rq *rq, int running)

返回类型:int

参数:

类型参数名称
u64now
struct rq *rq
intrunning
319  如果We can represent the historical contribution to runnable average as the* coefficients of a geometric series. To do this we sub-divide our runnable* history into segments of approximately 1ms (1024us); label the segment that
324  ___update_load_avg( & avg_rt, 1, 1)
325  Following tracepoints are not exported in tracefs and provide hooking* mechanisms only for testing and debugging purposes.* Postfixed with _tp to make them easily identifiable in the code.
326  返回:1
329  返回:0
调用者
名称描述
put_prev_task_rt
task_tick_rtscheduler tick hitting a task of our scheduling class