Home
last modified time | relevance | path

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

/kvm-unit-tests/x86/
H A Dkvmclock_test.c12 long threshold = DEFAULT_THRESHOLD; variable
38 if (offset > threshold || offset < -threshold) { in wallclock_test()
116 threshold = atol(av[3]); in main()
125 printf("Wallclock test, threshold %ld\n", threshold); in main()
H A Dvmx_tests.c4137 static void try_tpr_threshold_and_vtpr(unsigned threshold, unsigned vtpr) in try_tpr_threshold_and_vtpr() argument
4146 valid = (threshold & 0xf) <= ((vtpr >> 4) & 0xf); in try_tpr_threshold_and_vtpr()
4150 threshold, (vtpr >> 4) & 0xf); in try_tpr_threshold_and_vtpr()
4463 static void test_vtpr_values(unsigned threshold) in test_vtpr_values() argument
4465 try_tpr_threshold_and_vtpr(threshold, (threshold - 1) << 4); in test_vtpr_values()
4466 try_tpr_threshold_and_vtpr(threshold, threshold << 4); in test_vtpr_values()
4467 try_tpr_threshold_and_vtpr(threshold, (threshold + 1) << 4); in test_vtpr_values()
4470 static void try_tpr_threshold(unsigned threshold) in try_tpr_threshold() argument
4479 valid = !(threshold >> 4); in try_tpr_threshold()
4482 vmcs_write(TPR_THRESHOLD, threshold); in try_tpr_threshold()
[all …]
H A Dsvm_tests.c2766 …d pause_filter_run_test(int pause_iterations, int filter_value, int wait_iterations, int threshold) in pause_filter_run_test() argument
2774 vmcb->control.pause_filter_thresh = threshold; in pause_filter_run_test()
2777 if (filter_value <= pause_iterations || wait_iterations < threshold) in pause_filter_run_test()