Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_min_vruntime
Proto:static void update_min_vruntime(struct cfs_rq *cfs_rq)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cfs_rq * | cfs_rq |
| 531 | curr = 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). |
| 532 | leftmost = Same as rb_first(), but O(1) ( & tasks_timeline) |
| 534 | vruntime = min_vruntime |
| 536 | If curr Then |
| 543 | If leftmost Then |
| 545 | se = rb_entry(leftmost, structsched_entity, run_node) |
| 549 | Else vruntime = min_vruntime(vruntime, vruntime) |
| 556 | smp_wmb() |
| Name | Describe |
|---|---|
| update_curr | Update the current task's runtime statistics. |
| dequeue_entity |
| 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 |