Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:timekeeping_cycles_to_ns

Proto:static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 cycles)

Type:u64

Parameter:

TypeParameterName
const struct tk_read_base *tkr
u64cycles
383  delta = clocksource_delta(cycles, cycle_last, mask)
384  Return timekeeping_delta_to_ns(tkr, delta)
Caller
NameDescribe
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