Home
last modified time | relevance | path

Searched refs:rounded_host_rdmsr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/x86_64/
Dtsc_msrs_test.c19 #define rounded_host_rdmsr(x) ROUND(vcpu_get_msr(vm, 0, x)) macro
113 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), val); in main()
114 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main()
119 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), val); in main()
120 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main()
125 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), val); in main()
126 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main()
133 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
134 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main()
139 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
[all …]