Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:clocksource_delta

Proto:static inline u64 clocksource_delta(u64 now, u64 last, u64 mask)

Type:u64

Parameter:

TypeParameterName
u64now
u64last
u64mask
30  Return now - last & mask
Caller
NameDescribe
timekeeping_get_delta
timekeeping_cycles_to_ns
__ktime_get_fast_nsktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update
__ktime_get_real_fast_nsSee comment for __ktime_get_fast_ns() vs. timestamp ordering
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,
timekeeping_advancemekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length
clocksource_stop_suspend_timinglocksource_stop_suspend_timing - Stop measuring the suspend timing*@cs: current clocksource from timekeeping*@cycle_now: current cycles from timekeeping* This function will calculate the suspend time from suspend timer.