Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:posix_cpu_clock_getres

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

Type:int

Parameter:

TypeParameterName
const clockid_twhich_clock
struct timespec64 *tp
165  error = validate_clock_permissions(which_clock)
167  If Not error Then
168  seconds = 0
169  nanoseconds = ( NSEC_PER_SEC + HZ - 1) / HZ
176  nanoseconds = 1
179  Return error
Caller
NameDescribe
process_cpu_clock_getres
thread_cpu_clock_getres