Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/realtime/include/
Dlibrttest.h307 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);