Searched refs:tsc_start (Results 1 – 6 of 6) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
D | vmx_nested_tsc_scaling_test.c | 60 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()
|
D | xapic_ipi_test.c | 138 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/ |
D | rdtsc-latency.c | 88 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/ |
D | async_handler_tsc.c | 100 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/ |
D | librttest.c | 508 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/ |
D | librttest.h | 307 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);
|