函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:clocksource_delta

函数原型:static inline u64 clocksource_delta(u64 now, u64 last, u64 mask)

返回类型:u64

参数:

类型参数名称
u64now
u64last
u64mask
30  返回:nowlast按位与mask
调用者
名称描述
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.