Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ktime_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).

Proto:void ktime_get_real_ts64(struct timespec64 *ts)

Type:void

Parameter:

TypeParameterName
struct timespec64 *ts
728  tk = timekeeper
732  WARN_ON(lag for if timekeeping is suspended )
734  Do
735  seq = ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
737  seconds = xtime_sec
738  nsecs = timekeeping_get_ns( & tkr_mono)
740  When ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount cycle
742  nanoseconds = 0
743  mespec64_add_ns - Adds nanoseconds to a timespec64*@a: pointer to timespec64 to be incremented*@ns: unsigned nanoseconds value to be added* This must always be inlined because its used from the x86-64 vdso,* which cannot call other kernel functions.
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE2
do_adjtimexdo_adjtimex() - Accessor function to NTP __do_adjtimex function
sched_sync_hw_clock
sync_rtc_clock
sync_cmos_clock
posix_clock_realtime_getGet clock_realtime
do_clock_gettime
get_sampleget_sample - sample the CPU TSC and look for likely hardware latencies* Used to repeatedly capture the CPU TSC (or similar), looking for potential* hardware-induced latency. Called with interrupts disabled and with* hwlat_data.lock held.
getnstimeofday