Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Preempt the current task with a newly woken task if needed:
Proto:static void check_preempt_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | curr |
4139 | ideal_runtime = We calculate the wall-time slice from the period by taking a part* proportional to the weight.* s = p*P[w/rw] |
4141 | If delta_exec > ideal_runtime Then |
4147 | clear_buddies(cfs_rq, curr) |
4148 | Return |
4156 | If delta_exec < Minimal preemption granularity for CPU-bound tasks:* (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds) Then Return |
4159 | se = __pick_first_entity(cfs_rq) |
4162 | If delta < 0 Then Return |
Name | Describe |
---|---|
entity_tick |
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 |