Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:irq_timings_next_event_index

Proto:static int irq_timings_next_event_index(int *buffer, size_t len, int period_max)

Type:int

Parameter:

TypeParameterName
int *buffer
size_tlen
intperiod_max
325  buffer = buffer[len - (period_max * 3)]
328  len = period_max * 3
337  When period >= PREDICTION_PERIOD_MIN cycle
345  idx = period
346  size = period
354  When Not memcmp(buffer, & buffer[idx], size * sizeof(int)) cycle
359  idx += size
366  If idx == len Then Return buffer[len % period]
374  If len - idx < period Then size = len - idx
379  Return -1
Caller
NameDescribe
__irq_timings_next_event