函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\timings.c Create Date:2022-07-27 11:12:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_timings_interval_index

函数原型:static __always_inline int irq_timings_interval_index(u64 interval)

返回类型:int

参数:

类型参数名称
u64interval
441  interval_us等于interval右移10位的值除PREDICTION_FACTOR
443  返回:如果此条件成立可能性大(为编译器优化)(interval_us)则log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (interval_us)否则0
调用者
名称描述
__irq_timings_store