Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvmclock.c Create Date:2022-07-28 08:45:09
Last Modify:2020-03-18 12:41:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kvm_sched_clock_init

Proto:static inline void kvm_sched_clock_init(bool stable)

Type:void

Parameter:

TypeParameterName
boolstable
107  If Not stable Then clear_sched_clock_stable()
109  kvm_sched_clock_offset = kvm_clock_read()
110  sched_clock = kvm_sched_clock_read
112  pr_info("kvm-clock: using sched offset of %llu cycles", kvm_sched_clock_offset)
115  BUILD_BUG_ON - break compile if a condition is true( size of kvm_sched_clock_offset > size of system_time )
Caller
NameDescribe
kvmclock_init