函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tk_debug_account_sleep_time

函数原型:void tk_debug_account_sleep_time(const struct timespec64 *t)

返回类型:void

参数:

类型参数名称
const struct timespec64 *t
49  bin等于两数取小(ls - find last set bit in word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffs, but returns the position of the most significant set bit.* fls(value) returns 0 if value is 0 or the position of the last, NUM_BINS - 1)
51  sleep_time_bin[bin]自加
52  pm_deferred_pr_dbg("Timekeeping suspended for %lld.%03lu seconds\n", (s64) seconds , nanoseconds / NSEC_PER_MSEC)
调用者
名称描述
__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.