函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-27 11:46:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Get monotonic time for posix timers

函数原型:static int posix_ktime_get_ts(clockid_t which_clock, struct timespec64 *tp)

返回类型:int

参数:

类型参数名称
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  返回:0