Function report |
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 activity | Download SCCT | Chinese |
Name:Exponential moving average computation
Proto:static u64 irq_timings_ema_new(u64 value, u64 ema_old)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
u64 | value | |
u64 | ema_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) |
Name | Describe |
---|---|
__irq_timings_store |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |