Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_nested_tsc_scaling_test.c60 uint64_t tsc_start, tsc_end, tsc_freq; in check_tsc_freq() local
68 tsc_start = rdmsr(MSR_IA32_TSC); in check_tsc_freq()
72 tsc_freq = tsc_end - tsc_start; in check_tsc_freq()
156 uint64_t tsc_start, tsc_end; in main() local
178 tsc_start = rdtsc(); in main()
182 l0_tsc_freq = tsc_end - tsc_start; in main()
Dxapic_ipi_test.c138 uint64_t tsc_start; in sender_guest_code() local
180 tsc_start = rdtsc(); in sender_guest_code()
181 while (rdtsc() - tsc_start < 2000000000) { in sender_guest_code()
/external/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c88 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local
90 rdtscll(tsc_start); in tsc_period_ps()
96 return (1000 * tv_minus(&tv_start, &tv_end)) / tsc_minus(tsc_start, in tsc_period_ps()
/external/ltp/testcases/realtime/func/async_handler/
Dasync_handler_tsc.c100 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local
102 rdtscll(tsc_start); in tsc_period_ps()
108 return (1000 * (ns_end - ns_start)) / tsc_minus(tsc_start, tsc_end); in tsc_period_ps()
/external/ltp/testcases/realtime/lib/
Dlibrttest.c508 unsigned long long tsc_minus(unsigned long long tsc_start, in tsc_minus() argument
512 if (tsc_start <= tsc_end) in tsc_minus()
513 delta = tsc_end - tsc_start; in tsc_minus()
515 delta = ULL_MAX - (tsc_end - tsc_start) + 1; in tsc_minus()
/external/ltp/testcases/realtime/include/
Dlibrttest.h307 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);