Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86/
H A Dapic_bus_clock_test.c58 static void apic_guest_code(uint64_t apic_hz, uint64_t delay_ms) in apic_guest_code() argument
91 __GUEST_ASSERT(freq < apic_hz * 105 / 100 && freq > apic_hz * 95 / 100, in apic_guest_code()
93 freq, apic_hz * 95 / 100, apic_hz * 105 / 100, in apic_guest_code()
94 apic_hz, tdcrs[i].divide_count, tsc_hz); in apic_guest_code()
124 static void run_apic_bus_clock_test(uint64_t apic_hz, uint64_t delay_ms, in run_apic_bus_clock_test() argument
138 NSEC_PER_SEC / apic_hz); in run_apic_bus_clock_test()
141 vcpu_args_set(vcpu, 2, apic_hz, delay_ms); in run_apic_bus_clock_test()
144 NSEC_PER_SEC / apic_hz); in run_apic_bus_clock_test()
171 uint64_t apic_hz = 25 * 1000 * 1000; in main() local
180 apic_hz = atoi_positive("APIC bus frequency", optarg) * 1000 * 1000; in main()
[all …]