函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tk_xtime_add

函数原型:static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
const struct timespec64 *ts
124  xtime_sec加等于 seconds
125  xtime_nsec加等于 nanoseconds 左移shift
126  tk_normalize_xtime(tk)
调用者
名称描述
timekeeping_inject_offsetmekeeping_inject_offset - Adds or subtracts from the current time.*@tv: pointer to the timespec variable containing the offset* Adds or subtracts an offset value from the current time.
__timekeeping_inject_sleeptime__timekeeping_inject_sleeptime - Internal function to add sleep interval*@delta: pointer to a timespec delta value* Takes a timespec offset measuring a suspend interval and properly* adds the sleep offset to the timekeeping variables.