Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\timings.c Create Date:2022-07-28 10:12:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:irq_timings_interval_index

Proto:static __always_inline int irq_timings_interval_index(u64 interval)

Type:int

Parameter:

TypeParameterName
u64interval
441  interval_us = (interval >> 10) / PREDICTION_FACTOR
443  Return If Value is more likely to compile time(interval_us) Then 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) Else 0
Caller
NameDescribe
__irq_timings_store