Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ktime_get_raw - Returns the raw monotonic time in ktime_t format

Proto:ktime_t ktime_get_raw(void)

Type:ktime_t

Parameter:Nothing

856  tk = timekeeper
861  Do
862  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
863  base = base
864  nsecs = timekeeping_get_ns( & tkr_raw)
866  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
868  Return Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(base, nsecs)
Caller
NameDescribe
ktime_get_raw_ns