Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tk_xtime_add

Proto:static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
const struct timespec64 *ts
124  xtime_sec += seconds
125  xtime_nsec += nanoseconds << shift
126  tk_normalize_xtime(tk)
Caller
NameDescribe
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.