函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvmclock.c Create Date:2022-07-27 09:44:16
Last Modify:2020-03-18 12:41:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:The wallclock is the time of day when we booted. Since then, some time may* have elapsed since the hypervisor wrote the data. So we try to account for* that with system time

函数原型:static void kvm_get_wallclock(struct timespec64 *now)

返回类型:void

参数:

类型参数名称
struct timespec64 *now
74  wrmsrl(msr_kvm_wall_clock, slow_virt_to_phys( & wall_clock))
75  禁止抢占()
76  pvclock_read_wallclock( & wall_clock, this_cpu_pvti(), now)
77  禁用抢占和中断()