函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_timings_next_event - Return when the next event is supposed to arrive* During the last busy cycle, the number of interrupts is incremented* and stored in the irq_timings structure

函数原型:u64 irq_timings_next_event(u64 now)

返回类型:u64

参数:

类型参数名称
u64now
533  irqts等于this_cpu_ptr( & irq_timings)
535  __percpus
536  next_evt等于U64_MAX
537  irq等于0
544  lockdep_assert_irqs_disabled()
546  如果非count则返回:next_evt
564  irq等于irq_timing_decode(values[i], & ts)
565  s等于dr_find() - Return pointer for given ID
566  如果sirq_timings_store(irq, this_cpu_ptr(s), ts)
576  irqs等于this_cpu_ptr(s)
578  ts等于__irq_timings_next_event(irqs, i, now)
579  如果ts小于等于now则返回:now
582  如果ts小于next_evtnext_evt等于ts
586  返回:next_evt