函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:13 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_preempt_curr
函数原型:void check_preempt_curr(struct rq *rq, struct task_struct *p, int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq * | rq | |
struct task_struct * | p | |
int | flags |
1422 | 如果调度函数恒等于sched_class则 |
1423 | check_preempt_curr(rq, p, flags) |
1424 | 否则 |
1425 | for_each_class(class) |
名称 | 描述 |
---|---|
ttwu_do_wakeup | Mark the task runnable and perform wakeup-preemption. |
wake_up_new_task | wake_up_new_task - wake up a newly created task for the first time.* This function will do some initial scheduler statistics housekeeping* that must be done for every newly created context, then puts the task* on the runqueue and wakes it. |
prio_changed_fair | Priority of the task has changed. Check to see if we preempt* the current task. |
switched_to_fair |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |