Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:update_stats_wait_start

Proto:static inline void update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se)

Type:void

Parameter:

TypeParameterName
struct cfs_rq *cfs_rq
struct sched_entity *se
877  If Not schedstat_enabled() Then Return
880  wait_start = rq_clock(rq_of(cfs_rq))
881  prev_wait_start = schedstat_val(wait_start)
883  If entity_is_task(se) && task_on_rq_migrating(CFS operations on generic schedulable entities:) && Value is more likely to compile time(wait_start > prev_wait_start) Then wait_start -= prev_wait_start
887  __schedstat_set(wait_start, wait_start)
Caller
NameDescribe
update_stats_enqueueTask is being enqueued - update stats:
put_prev_entity