函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_stats_wait_end

函数原型:static inline void update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)

返回类型:void

参数:

类型参数名称
struct cfs_rq *cfs_rq
struct sched_entity *se
896  如果非schedstat_enabled()则返回
899  delta等于rq_clock(rq_of(cfs_rq))减schedstat_val(wait_start)
901  如果entity_is_task(se)则
902  p等于CFS operations on generic schedulable entities:
903  如果task_on_rq_migrating(p)则
910  返回
912  Tracepoint for accounting wait time (time the task is runnable* but not actually running due to scheduler contention).
915  __schedstat_set(wait_max, 两数取大(schedstat_val(wait_max), delta))
917  __schedstat_inc(wait_count)
918  __schedstat_add(wait_sum, delta)
919  __schedstat_set(wait_start, 0)
调用者
名称描述
update_stats_dequeue
set_next_entity