Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get monotonic time for posix timers

Proto:static int posix_ktime_get_ts(clockid_t which_clock, struct timespec64 *tp)

Type:int

Parameter:

TypeParameterName
clockid_twhich_clock
struct timespec64 *tp
192  ktime_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
193  Return 0