Searched refs:rdtsc (Results 1 – 13 of 13) sorted by relevance
16 t1 = rdtsc(); in main()18 t2 = rdtsc(); in main()28 t1 = rdtsc(); in main()30 t2 = rdtsc(); in main()
9 t2 = rdtsc(); in test_wrtsc()35 t1 = rdtsc(); in main()36 t2 = rdtsc(); in main()
74 uint64_t start = rdtsc(); in self_ipi_isr()76 tsc_eoi += rdtsc() - start; in self_ipi_isr()81 uint64_t start = rdtsc(); in x2apic_self_ipi()83 tsc_ipi += rdtsc() - start; in x2apic_self_ipi()88 uint64_t start = rdtsc(); in apic_self_ipi()91 tsc_ipi += rdtsc() - start; in apic_self_ipi()191 uint64_t start = rdtsc(); in ipi()193 tsc_ipi += rdtsc() - start; in ipi()201 t = rdtsc() + 2000; in ipi_halt()202 while (rdtsc() < t) in ipi_halt()[all …]
250 u64 start = rdtsc(); in __test_self_ipi()259 } while (rdtsc() - start < 1000000000 && atomic_read(&ipi_count) == 0); in __test_self_ipi()473 tsc1 = rdtsc(); in test_apic_timer_one_shot()477 tsc2 = rdtsc(); in test_apic_timer_one_shot()501 u64 start = rdtsc(); in broadcast_received()508 } while (rdtsc() - start < 1000000000); in broadcast_received()665 u64 start = rdtsc(); in test_fixed_ipi()676 } while (rdtsc() - start < 1000000); in test_fixed_ipi()678 start = rdtsc(); in test_fixed_ipi()684 } while (rdtsc() - start < 1000000000 && in test_fixed_ipi()
56 return hvclock_tsc_to_ticks(&shadow, rdtsc()); in hv_clock_read()195 tsc1 = rdtsc(); in main()204 tsc2 = rdtsc(); in main()
86 begin = rdtsc(); in cycle_test()91 end = rdtsc(); in cycle_test()
853 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in tsc_adjust_test()859 uint64_t l1_tsc_end = rdtsc() - TSC_OFFSET_VALUE; in tsc_adjust_test()882 u64 start_tsc = rdtsc(); in svm_tsc_scale_guest()884 while (rdtsc() - start_tsc < guest_tsc_delay_value) in svm_tsc_scale_guest()899 start_tsc = rdtsc(); in svm_tsc_scale_run_testcase()904 actual_duration = (rdtsc() - start_tsc) >> TSC_SHIFT; in svm_tsc_scale_run_testcase()945 tsc_start = rdtsc(); in latency_prepare()953 tsc_end = rdtsc(); in latency_test()965 tsc_start = rdtsc(); in latency_test()975 tsc_end = rdtsc(); in latency_finished()[all …]
53 u64 now = rdtsc(); in tsc_deadline_timer_isr()
171 return rdtsc(); in rdtsc_ordered()
147 tsc_val = rdtsc(); in preemption_timer_main()156 if (((rdtsc() - tsc_val) >> preempt_scale) in preemption_timer_main()162 tsc_val = rdtsc(); in preemption_timer_main()183 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val, in preemption_timer_exit_handler()191 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val in preemption_timer_exit_handler()1613 start = rdtsc(); in interrupt_main()1618 report(rdtsc() - start > 1000000 && timer_fired, in interrupt_main()1625 start = rdtsc(); in interrupt_main()1630 report(rdtsc() - start > 10000 && timer_fired, in interrupt_main()1637 start = rdtsc(); in interrupt_main()[all …]
326 rsvd_bits = (rdtsc() << low) & GENMASK_ULL(hi, low); in get_random_bits()
6 u64 start = rdtsc(); in delay()10 } while (rdtsc() - start < count); in delay()
941 static inline unsigned long long rdtsc(void) in rdtsc() function