函数逻辑报告

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获取CPU

函数原型:static inline int cpu_of(struct rq *rq)

返回类型:int

参数:

类型参数名称
struct rq *rq
1025  返回:0
调用者
名称描述
update_rq_clock更新rq运行时间
resched_curr标记当前进程需要被调度出去
sched_trace_cfs_rq_cpu
sched_trace_rq_cpu
switched_to_rtWhen switching a task to RT, we may overload the runqueue* with RT tasks. In this case we try to push them off to* other runqueues.
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).