函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:delta /= w

函数原型:static inline u64 calc_delta_fair(u64 delta, struct sched_entity *se)

返回类型:u64

参数:

类型参数名称
u64delta
struct sched_entity *se
663  如果此条件成立可能性小(为编译器优化)(weight != Task weight (visible to users) and its load (invisible to users) have* independent resolution, but they should be well calibrated)则delta等于delta_exec * weight / lw.weight* OR* (delta_exec * (weight * lw->inv_weight)) >> WMULT_SHIFT* Either weight := NICE_0_LOAD and lw \e sched_prio_to_wmult[], in which case* we're guaranteed shift stays positive because inv_weight is guaranteed to
666  返回:delta
调用者
名称描述
sched_vsliceWe calculate the vruntime slice of a to-be-inserted task.* vs = s/w
update_curr更新当前进程运行时间,包括虚拟运行时间
wakeup_gran