Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_next_entity
Proto:static void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se |
| 4173 | If on_rq Then |
| 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 | If schedstat_enabled() && weight >= 2 * weight Then |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |