Function report |
Source Code:kernel\sched\cpufreq_schedutil.c |
Create Date:2022-07-28 09:44:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sugov_iowait_apply() - Apply the IO boost to a CPU
Proto:static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, unsigned long util, unsigned long max)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sugov_cpu * | sg_cpu | |
| u64 | time | |
| unsigned long | util | |
| unsigned long | max |
| 399 | If Not iowait_boost Then Return util |
| 403 | If sugov_iowait_reset() - Reset the IO boost status of a CPU Then Return util |
| 406 | If Not iowait_boost_pending Then |
| 410 | iowait_boost >>= 1 |
| 411 | If iowait_boost < IOWAIT_BOOST_MIN Then |
| 412 | iowait_boost = 0 |
| 413 | Return util |
| 417 | iowait_boost_pending = false |
| Name | Describe |
|---|---|
| sugov_update_single | |
| sugov_next_freq_shared |
| 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 |