函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rq_clock_task

函数原型:static inline u64 rq_clock_task(struct rq *rq)

返回类型:u64

参数:

类型参数名称
struct rq *rq
1104  lockdep_assert_held( & 运行队列锁)
1105  assert_clock_updated(rq)
1107  返回: Ensure that all clocks are in the same cache line
调用者
名称描述
update_curr更新当前进程运行时间,包括虚拟运行时间
update_stats_curr_startWe are picking a new current task - update its stats:
update_curr_rtUpdate the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.
set_next_task_rt
update_curr_dlUpdate the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq).
set_next_task_dl
set_next_task_stop
put_prev_task_stop
rq_clock_pelt