Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_clock_global

Proto:u64 notrace trace_clock_global(void)

Type:u64

Parameter:Nothing

100  raw_local_irq_save(flags)
102  this_cpu = These macros fold the SMP functionality into a single CPU system()
103  now = sched_clock_cpu(this_cpu)
108  If Value for the false possibility is greater at compile time(in_nmi()) Then Go to out
111  r sched/core.c and kernel_lock.c: ( & lock)
118  If now - prev_time < 0 Then now = prev_time + 1
121  prev_time = now
123  arch_spin_unlock( & lock)
125  out :
126  raw_local_irq_restore(flags)
128  Return now