Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pc_clock_gettime

Proto:static int pc_clock_gettime(clockid_t id, struct timespec64 *ts)

Type:int

Parameter:

TypeParameterName
clockid_tid
struct timespec64 *ts
255  err = get_clock_desc(id, & cd)
256  If err Then Return err
259  If clock_gettime Then err = clock_gettime(clk, ts)
261  Else err = -EOPNOTSUPP
264  put_clock_desc( & cd)
266  Return err