Function report |
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 activity | Download SCCT | Chinese |
Name:___update_load_avg
Proto:static __always_inline void ___update_load_avg(struct sched_avg *sa, unsigned long load, unsigned long runnable)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sched_avg * | sa | |
unsigned long | load | |
unsigned long | runnable |
229 | divider = LOAD_AVG_MAX - 1024 + period_contrib |
236 | WRITE_ONCE(util_avg, util_sum / divider) |
Name | Describe |
---|---|
__update_load_avg_blocked_se | 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 = |
__update_load_avg_se | |
__update_load_avg_cfs_rq | |
update_rt_rq_load_avg | _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. |
update_dl_rq_load_avg | dl_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |