函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ad_persistent_wall_and_boot_offset - Read persistent clock, and also offset* from the boot.* Weak dummy function for arches that do not yet support it.* The default function calculates offset based on the current value of* local_clock()

函数原型:void __weak __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, struct timespec64 *boot_offset)

返回类型:void

参数:

类型参数名称
struct timespec64 *wall_time current time as returned by persistent clock
struct timespec64 *boot_offset offset that is defined as wall_time - boot_time
1507  ad_persistent_clock64 - Return time from the persistent clock.* Weak dummy function for arches that do not yet support it.* Reads the time from the battery backed persistent clock.* Returns a timespec with tv_sec=0 and tv_nsec=0 if unsupported.
1508  offset that is defined as wall_time - boot_time等于纳秒转换到64位timespec时间
调用者
名称描述
timekeeping_init初始化系统时钟计时