函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:timekeeping_cycles_to_ns

函数原型:static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 cycles)

返回类型:u64

参数:

类型参数名称
const struct tk_read_base *tkr
u64cycles
383  delta等于clocksource_delta(cycles, cycle_last, mask)
384  返回:timekeeping_delta_to_ns(tkr, delta)
调用者
名称描述
ktime_get_snapshotktime_get_snapshot - snapshots the realtime/monotonic raw clocks with counter*@systime_snapshot: pointer to struct receiving the system time snapshot
get_device_system_crosststampget_device_system_crosststamp - Synchronously capture system/device timestamp*@get_time_fn: Callback to get simultaneous device time and* system counter from the device driver*@ctx: Context passed to get_time_fn()*@history_begin: Historical reference