Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:48 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:to_ratio
Proto:unsigned long to_ratio(u64 period, u64 runtime)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | period | |
| u64 | runtime |
| 2924 | If runtime == Single value that denotes runtime == period, ie unlimited time. Then Return BW_UNIT |
| 2932 | If period == 0 Then Return 0 |
| Name | Describe |
|---|---|
| init_dl_bw | |
| sched_dl_global_validate | |
| init_dl_rq_bw_ratio | |
| sched_dl_do_global | |
| sched_dl_overflow | We must be sure that accepting a new task (or allowing changing the* parameters of an existing one) is consistent with the bandwidth* constraints. If yes, this function also accordingly updates the currently |
| __setparam_dl | This function initializes the sched_dl_entity of a newly becoming* SCHED_DEADLINE task.* Only the static values are considered here, the actual runtime and the* absolute deadline will be properly calculated when the task is enqueued |
| 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 |