函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rq_of

函数原型:static inline struct rq *rq_of(struct cfs_rq *cfs_rq)

返回类型:struct rq

参数:

类型参数名称
struct cfs_rq *cfs_rq
1016  返回:container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(cfs_rq, structrq, cfs)
调用者
名称描述
update_curr更新当前进程运行时间,包括虚拟运行时间
update_stats_wait_start
update_stats_wait_end
update_stats_enqueue_sleeper
update_stats_dequeue
update_stats_curr_startWe are picking a new current task - update its stats:
cfs_rq_util_change
check_preempt_tick检查当前进程是否需要被抢占
set_next_entity
sched_trace_cfs_rq_cpu