函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\clocksource.h Create Date:2022-07-27 08:33:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:locksource_cyc2ns - converts clocksource cycles to nanoseconds*@cycles: cycles*@mult: cycle to nanosecond multiplier*@shift: cycle to nanosecond divisor (power of two)* Converts clocksource cycles to nanoseconds, using the given @mult and @shift

函数原型:static inline s64 clocksource_cyc2ns(u64 cycles, unsigned int mult, unsigned int shift)

返回类型:s64

参数:

类型参数名称
u64cycles
unsigned intmult
unsigned intshift
186  返回:cyclesmult右移shift
调用者
名称描述
clocks_calc_max_nsecslocks_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