Function report |
Source Code:kernel\time\clocksource.c |
Create Date:2022-07-28 10:44:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__clocksource_update_freq_scale - Used update clocksource with new freq*@cs: clocksource to be registered*@scale: Scale factor multiplied against freq to get clocksource hz*@freq: clocksource frequency (cycles per second) divided by scale
Proto:void __clocksource_update_freq_scale(struct clocksource *cs, unsigned int scale, unsigned int freq)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clocksource * | cs | |
| unsigned int | scale | |
| unsigned int | freq |
| 866 | If freq Then |
| 903 | WARN_ONCE(mult + maxadj < mult, "timekeeping: Clocksource %s might overflow on 11%% adjustment\n", name) |
| 909 | pr_info("%s: mask: 0x%llx max_cycles: 0x%llx, max_idle_ns: %lld ns\n", name, mask, max_cycles, max_idle_ns) |
| Name | Describe |
|---|---|
| __clocksource_register_scale | __clocksource_register_scale - Used to install new clocksources*@cs: clocksource to be registered*@scale: Scale factor multiplied against freq to get clocksource hz*@freq: clocksource frequency (cycles per second) divided by scale |
| 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 |