函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tk_update_sleep_time

函数原型:static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
ktime_tdelta
148  offs_boot等于计算下一次触发时间(offs_boot, delta)
153  monotonic_to_boot等于Map the ktime_t to timespec conversion to ns_to_timespec function (offs_boot)
调用者
名称描述
__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.