Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\pelt.c Create Date:2022-07-28 09:43:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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 =

Proto:int __update_load_avg_blocked_se(u64 now, struct sched_entity *se)

Type:int

Parameter:

TypeParameterName
u64now
struct sched_entity *se
268  If 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 Then
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  Return 1
274  Return 0