函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:task_current

函数原型:static inline int task_current(struct rq *rq, struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct rq *rq
struct task_struct *p
1619  返回:当前任务恒等于p
调用者
名称描述
task_sched_runtimeReturn accounted runtime for the task.* In case the task is currently running, return the runtime plus current's* pending runtime that have not been accounted yet.
set_user_nice
__sched_setscheduler
enqueue_task_rtAdding/removing a task to/from a priority array:
enqueue_task_dl
task_running