Function report |
Source Code:kernel\sched\rt.c |
Create Date:2022-07-28 09:39:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sched_rt_runtime_exceeded
Proto:static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rt_rq * | rt_rq |
| 910 | runtime = sched_rt_runtime(rt_rq) |
| 912 | If rt_throttled Then Return rt_rq_throttled(rt_rq) |
| 915 | If runtime >= sched_rt_period(rt_rq) Then Return 0 |
| 918 | balance_runtime(rt_rq) |
| 919 | runtime = sched_rt_runtime(rt_rq) |
| 920 | If runtime == Single value that denotes runtime == period, ie unlimited time. Then Return 0 |
| 924 | rt_b = sched_rt_bandwidth(rt_rq) |
| 930 | If Value is more likely to compile time(rt_runtime) Then |
| 931 | rt_throttled = 1 |
| 932 | printk_deferred_once("sched: RT throttling activated\n") |
| 933 | Else |
| 939 | rt_time = 0 |
| 942 | If rt_rq_throttled(rt_rq) Then |
| 943 | sched_rt_rq_dequeue(rt_rq) |
| 944 | Return 1 |
| 948 | Return 0 |
| Name | Describe |
|---|---|
| update_curr_rt | Update the current task's runtime statistics. Skip current tasks that* are not in our scheduling class. |
| 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 |