函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:timekeeping_get_delta

函数原型:static inline u64 timekeeping_get_delta(const struct tk_read_base *tkr)

返回类型:u64

参数:

类型参数名称
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  返回:delta
调用者
名称描述
timekeeping_get_ns