Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:u64 irq_timings_next_event(u64 now)

Type:u64

Parameter:

TypeParameterName
u64now
533  irqts = this_cpu_ptr( & irq_timings)
535  __percpu * s
536  next_evt = U64_MAX
537  irq = 0
544  lockdep_assert_irqs_disabled()
546  If Not count Then Return next_evt
564  irq = irq_timing_decode(values[i], & ts)
565  s = dr_find() - Return pointer for given ID
566  If s Then irq_timings_store(irq, this_cpu_ptr(s), ts)
576  irqs = this_cpu_ptr(s)
578  ts = __irq_timings_next_event(irqs, i, now)
579  If ts <= now Then Return now
582  If ts < next_evt Then next_evt = ts
586  Return next_evt