Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pvclock.h Create Date:2022-07-28 08:44:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__pvclock_read_cycles

Proto:static __always_inline u64 __pvclock_read_cycles(const struct pvclock_vcpu_time_info *src, u64 tsc)

Type:u64

Parameter:

TypeParameterName
const struct pvclock_vcpu_time_info *src
u64tsc
84  delta = tsc - tsc_timestamp
85  offset = Scale a 64-bit delta by scaling and multiplying by a 32-bit fraction,* yielding a 64-bit result.
87  Return system_time + offset
Caller
NameDescribe
pvclock_clocksource_read