函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:39:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:wakeup_preempt_entity
函数原型:static int wakeup_preempt_entity(struct sched_entity *curr, struct sched_entity *se)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sched_entity * | curr | |
struct sched_entity * | se |
6520 | 如果vdiff小于等于0则返回:负1 |
6523 | gran等于wakeup_gran(se) |
6527 | 返回:0 |
名称 | 描述 |
---|---|
pick_next_entity | Pick the next process, keeping these things in mind, in this order:* 1) keep things fair between processes/task groups* 2) pick the "next" process, since someone really wants that to run* 3) pick the "last" process, for cache locality* 4) do not run the |
check_preempt_wakeup | Preempt the current task with a newly woken task if needed: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |