Function report |
Source Code:kernel\sched\cpufreq_schedutil.c |
Create Date:2022-07-28 09:45:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sugov_update_single
Proto:static void sugov_update_single(struct update_util_data *hook, u64 time, unsigned int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct update_util_data * | hook | |
| u64 | time | |
| unsigned int | flags |
| 460 | last_update = time |
| 464 | If Not Governor internals ********************** Then Return |
| 468 | busy = Not need_freq_update && sugov_cpu_is_busy(sg_cpu) |
| 470 | util = sugov_get_util(sg_cpu) |
| 482 | cached_raw_freq = 0 |
| 490 | If fast_switch_enabled Then |
| 491 | sugov_fast_switch(sg_policy, time, next_f) |
| 492 | Else |
| 493 | raw_spin_lock( & For shared policies ) |
| 494 | sugov_deferred_update(sg_policy, time, next_f) |
| 495 | raw_spin_unlock( & For shared policies ) |
| 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 |