函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tk_normalize_xtime

函数原型:static inline void tk_normalize_xtime(struct timekeeper *tk)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
97 xtime_nsec大于等于NSEC_PER_SEC左移shift循环
98  xtime_nsec减等于NSEC_PER_SEC左移shift
99  xtime_sec自加
101 xtime_nsec大于等于NSEC_PER_SEC左移shift循环
102  xtime_nsec减等于NSEC_PER_SEC左移shift
103  raw_sec自加
调用者
名称描述
tk_xtime_add
timekeeping_forward_nowmekeeping_forward_now - update clock to the current time* Forward the current clock to update its state since the last call to* update_wall_time(). This is useful before significant clock changes,