Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reweight_entity
Proto:static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, unsigned long weight, unsigned long runnable)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se | |
| unsigned long | weight | |
| unsigned long | runnable |
| 2883 | If on_rq Then |
| 2885 | If 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). == se Then Update the current task's runtime statistics. |
| 2887 | account_entity_dequeue(cfs_rq, se) |
| 2888 | dequeue_runnable_load_avg(cfs_rq, se) |
| 2890 | dequeue_load_avg(cfs_rq, se) |
| 2892 | runnable_weight = runnable |
| 2893 | update_load_set( & For load-balancing: , weight) |
| 2905 | enqueue_load_avg(cfs_rq, se) |
| 2906 | If on_rq Then |
| 2907 | account_entity_enqueue(cfs_rq, se) |
| 2908 | enqueue_runnable_load_avg(cfs_rq, se) |
| Name | Describe |
|---|---|
| reweight_task |
| 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 |