函数逻辑报告 |
Source Code:include\linux\math64.h |
Create Date:2022-07-27 06:38:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mul_u64_u32_shr
函数原型:static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
u64 | a | |
u32 | mul | |
unsigned int | shift |
201 | ret等于mul_u32_u32(al, mul)右移shift位 |
205 | 返回:ret |
名称 | 描述 |
---|---|
cycles_2_ns | Accelerators for sched_clock()* convert from cycles(64bits) => nanoseconds (64bits)* basic equation:* ns = cycles / (freq / ns_per_sec)* ns = cycles * (ns_per_sec / freq)* ns = cycles * (10^9 / (cpu_khz * 10^3))* ns = cycles * (10^6 / cpu_khz) |
__set_cyc2ns_scale | |
__calc_delta | delta_exec * weight / lw.weight* OR* (delta_exec * (weight * lw->inv_weight)) >> WMULT_SHIFT* Either weight := NICE_0_LOAD and lw \e sched_prio_to_wmult[], in which case* we're guaranteed shift stays positive because inv_weight is guaranteed to |
decay_load | Approximate:* val * y^n, where y^32 ~= 0.5 (~1 scheduling period) |
clocksource_stop_suspend_timing | locksource_stop_suspend_timing - Stop measuring the suspend timing*@cs: current clocksource from timekeeping*@cycle_now: current cycles from timekeeping* This function will calculate the suspend time from suspend timer. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |