Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:timekeeping_get_ns

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

Type:u64

Parameter:

TypeParameterName
const struct tk_read_base *tkr
374  delta = timekeeping_get_delta(tkr)
375  Return timekeeping_delta_to_ns(tkr, delta)
Caller
NameDescribe
ktime_get_real_ts64ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended).
ktime_get
ktime_get_with_offset
ktime_get_rawktime_get_raw - Returns the raw monotonic time in ktime_t format
ktime_get_ts64ktime_get_ts64 - get the monotonic clock in timespec64 format*@ts: pointer to timespec variable* The function calculates the monotonic clock from the realtime* clock and the wall_to_monotonic offset and stores the result
ktime_get_raw_ts64ktime_get_raw_ts64 - Returns the raw monotonic time in a timespec*@ts: pointer to the timespec64 to be set* Returns the raw monotonic time (completely un-modified by ntp)
ktime_get_update_offsets_nowktime_get_update_offsets_now - hrtimer helper*@cwsseq: pointer to check and store the clock was set sequence number*@offs_real: pointer to storage for monotonic -> realtime offset*@offs_boot: pointer to storage for monotonic -> boottime offset*@offs_tai: