函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:进程处于任务队列
函数原型:static inline int task_on_rq_queued(struct task_struct *p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
1633 | 返回:on_rq恒等于ask_struct::on_rq states: |
名称 | 描述 |
---|---|
check_preempt_curr | |
ttwu_remote | Called in case the task @p isn't fully descheduled from its runqueue,* in this case we must do a remote wakeup. Its a 'light' wakeup though,* since all we need to do is flip p->state to TASK_RUNNING, since* the task is still ->on_rq. |
task_sched_runtime | Return 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 | |
prio_changed_fair | Priority of the task has changed. Check to see if we preempt* the current task. |
switched_to_fair | |
switched_to_rt | When 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. |
prio_changed_rt | Priority of the task has changed. This may cause* us to initiate a push or pull. |
dl_change_utilization | |
dl_task_timer | This is the bandwidth enforcement timer callback |
switched_from_dl | |
switched_to_dl | When switching to -deadline, we may overload the rq, then* we try to push someone off, if possible. |
prio_changed_dl | If the scheduling parameters of a -deadline task changed,* a push or pull operation might be needed. |
cgroup_move_task | group_move_task - move task to a different cgroup*@task: the task*@to: the target css_set* Move task to a new cgroup and safely migrate its associated stall* state between the different groups |
sched_stop_runnable |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |