Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:timekeeping_get_delta

Proto:static inline u64 timekeeping_get_delta(const struct tk_read_base *tkr)

Type:u64

Parameter:

TypeParameterName
const struct tk_read_base *tkr
267  cycle_now = k_clock_read - atomic clocksource read() helper* This helper is necessary to use in the read paths because, while the* seqlock ensures we don't return a bad value while structures are updated,* it doesn't protect from potential crashes
270  delta = clocksource_delta(cycle_now, cycle_last, mask)
272  Return delta
Caller
NameDescribe
timekeeping_get_ns