Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ktime_get_seconds - Get the seconds portion of CLOCK_MONOTONIC* Returns the seconds portion of CLOCK_MONOTONIC with a single non* serialized read. tk->ktime_sec is of type 'unsigned long' so this* works on both 32 and 64 bit systems

Proto:time64_t ktime_get_seconds(void)

Type:time64_t

Parameter:Nothing

914  tk = timekeeper
916  WARN_ON(lag for if timekeeping is suspended )
917  Return ktime_sec
Caller
NameDescribe
rcu_torture_stallCPU-stall kthread. It waits as specified by stall_cpu_holdoff, then* induces a CPU stall for the time specified by stall_cpu.
fmeter_updateInternal meter update - process cnt events and update value