Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tk_normalize_xtime

Proto:static inline void tk_normalize_xtime(struct timekeeper *tk)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
97  When xtime_nsec >= NSEC_PER_SEC << shift cycle
98  xtime_nsec -= NSEC_PER_SEC << shift
99  xtime_sec++
101  When xtime_nsec >= NSEC_PER_SEC << shift cycle
102  xtime_nsec -= NSEC_PER_SEC << shift
103  raw_sec++
Caller
NameDescribe
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,