Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Task is being enqueued - update stats:
Proto:static inline void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se | |
| int | flags |
| 996 | If Not schedstat_enabled() Then Return |
| 1003 | If se != 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). Then update_stats_wait_start(cfs_rq, se) |
| 1006 | If flags & ENQUEUE_WAKEUP Then update_stats_enqueue_sleeper(cfs_rq, se) |
| Name | Describe |
|---|---|
| enqueue_entity | MIGRATION* dequeue* update_curr()* update_min_vruntime()* vruntime -= min_vruntime* enqueue* update_curr()* update_min_vruntime()* vruntime += min_vruntime* this way the vruntime transition between RQs is done when both* min_vruntime are up-to-date |
| 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 |