Home
last modified time | relevance | path

Searched refs:tsc_end (Results 1 – 5 of 5) 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
70 tsc_end = 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
180 tsc_end = rdtsc(); in main()
182 l0_tsc_freq = tsc_end - tsc_start; in main()
/external/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c88 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local
93 rdtscll(tsc_end); in tsc_period_ps()
97 tsc_end); 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
105 rdtscll(tsc_end); 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.c509 unsigned long long tsc_end) 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);