函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sched_entity:* task:* se_runnable() == se_weight()* group: [ see update_cfs_group() ]* se_weight() = tg->weight * grq->load_avg / tg->load_avg* se_runnable() = se_weight(se) * grq->runnable_load_avg / grq->load_avg* load_sum := runnable_sum* load_avg =

函数原型:int __update_load_avg_blocked_se(u64 now, struct sched_entity *se)

返回类型:int

参数:

类型参数名称
u64now
struct sched_entity *se
268  如果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
269  ___update_load_avg( & avg, se_weight(se), se_runnable(se))
270  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.
271  返回:1
274  返回:0