Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Exponential moving average computation

Proto:static u64 irq_timings_ema_new(u64 value, u64 ema_old)

Type:u64

Parameter:

TypeParameterName
u64value
u64ema_old
304  If Value for the false possibility is greater at compile time(!ema_old) Then Return value
307  diff = (value - ema_old) * The main goal of this algorithm is to predict the next interrupt* occurrence on the current CPU
314  Return ema_old + (diff >> EMA_ALPHA_SHIFT)
Caller
NameDescribe
__irq_timings_store