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 …]
270 u64 start = rdtsc(); in __test_self_ipi()279 } while (rdtsc() - start < 1000000000 && atomic_read(&ipi_count) == 0); in __test_self_ipi()493 tsc1 = rdtsc(); in test_apic_timer_one_shot()497 tsc2 = rdtsc(); in test_apic_timer_one_shot()521 u64 start = rdtsc(); in broadcast_received()528 } while (rdtsc() - start < 1000000000); in broadcast_received()685 u64 start = rdtsc(); in test_fixed_ipi()696 } while (rdtsc() - start < 1000000); in test_fixed_ipi()698 start = rdtsc(); in test_fixed_ipi()704 } 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()
723 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in tsc_adjust_test()729 uint64_t l1_tsc_end = rdtsc() - TSC_OFFSET_VALUE; in tsc_adjust_test()752 u64 start_tsc = rdtsc(); in svm_tsc_scale_guest()754 while (rdtsc() - start_tsc < guest_tsc_delay_value) in svm_tsc_scale_guest()769 start_tsc = rdtsc(); in svm_tsc_scale_run_testcase()774 actual_duration = (rdtsc() - start_tsc) >> TSC_SHIFT; in svm_tsc_scale_run_testcase()815 tsc_start = rdtsc(); in latency_prepare()823 tsc_end = rdtsc(); in latency_test()835 tsc_start = rdtsc(); in latency_test()845 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 …]
299 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()
798 static inline unsigned long long rdtsc(void) in rdtsc() function