Function report |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-28 09:40:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This function implements the GRUB accounting rule:* according to the GRUB reclaiming algorithm, the runtime is* not decreased as "dq = -dt", but as* "dq = -max{u / Umax, (1 - Uinact - Uextra)} dt",* where u is the utilization of the task, Umax is the
Proto:static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
u64 | delta | |
struct rq * | rq | |
struct sched_dl_entity * | dl_se |
1157 | u_act_min = dl_runtime / dl_period * Inverse of the fraction of CPU utilization that can be reclaimed* by the GRUB algorithm. >> RATIO_SHIFT |
Name | Describe |
---|---|
update_curr_dl | Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq). |
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 |