Function report |
Source Code:kernel\time\clocksource.c |
Create Date:2022-07-28 10:44:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:locks_calc_max_nsecs - Returns maximum nanoseconds that can be converted*@mult: cycle to nanosecond multiplier*@shift: cycle to nanosecond divisor (power of two)*@maxadj: maximum adjustment value to mult (~11%)*@mask: bitmask for two's complement
Proto:u64 clocks_calc_max_nsecs(unsigned int mult, unsigned int shift, unsigned int maxadj, u64 mask, u64 *max_cyc)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | mult | |
unsigned int | shift | |
unsigned int | maxadj | |
u64 | mask | |
u64 * | max_cyc |
674 | max_cycles = ULLONG_MAX |
683 | max_cycles = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(max_cycles, mask) |
687 | If max_cyc Then max_cyc = max_cycles |
691 | max_nsecs >>= 1 |
693 | Return max_nsecs |
Name | Describe |
---|---|
clocksource_update_max_deferment | locksource_update_max_deferment - Updates the clocksource max_idle_ns & max_cycles*@cs: Pointer to clocksource to be updated |
sched_clock_register |
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 |