Home
last modified time | relevance | path

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

/kvm-unit-tests/x86/
H A Dsvm_tests.c1135 static volatile bool timer_fired; variable
1139 timer_fired = true; in timer_isr()
1147 timer_fired = false; in interrupt_prepare()
1159 for (loops = 0; loops < 10000000 && !timer_fired; loops++) in interrupt_test()
1162 report_svm_guest(timer_fired, test, in interrupt_test()
1169 timer_fired = false; in interrupt_test()
1171 for (loops = 0; loops < 10000000 && !timer_fired; loops++) in interrupt_test()
1174 report_svm_guest(timer_fired, test, in interrupt_test()
1181 timer_fired = false; in interrupt_test()
1186 report_svm_guest(timer_fired, test, "direct interrupt + hlt"); in interrupt_test()
[all …]
H A Dvmx_tests.c1569 static volatile bool timer_fired; variable
1573 timer_fired = true; in timer_isr()
1595 for (loops = 0; loops < 10000000 && !timer_fired; loops++) in interrupt_main()
1597 report(timer_fired, "direct interrupt while running guest"); in interrupt_main()
1602 timer_fired = false; in interrupt_main()
1604 for (loops = 0; loops < 10000000 && !timer_fired; loops++) in interrupt_main()
1606 report(timer_fired, "intercepted interrupt while running guest"); in interrupt_main()
1612 timer_fired = false; in interrupt_main()
1618 report(rdtsc() - start > 1000000 && timer_fired, in interrupt_main()
1624 timer_fired = false; in interrupt_main()
[all …]