函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:39:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_next_entity
函数原型:static void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se |
| 4173 | 如果on_rq则 |
| 4179 | update_stats_wait_end(cfs_rq, se) |
| 4180 | __dequeue_entity(cfs_rq, se) |
| 4181 | update_load_avg(cfs_rq, se, UPDATE_TG) |
| 4185 | 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running).等于se |
| 4192 | 如果schedstat_enabled()且weight大于等于2乘weight则 |
| 名称 | 描述 |
|---|---|
| pick_next_task_fair | |
| set_next_task_fair | Account for a task changing its policy or group.* This routine is mostly called to set cfs_rq->curr field when a task* migrates between groups/classes. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |