Home
last modified time | relevance | path

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

/dpdk/drivers/event/cnxk/
H A Dcnxk_tim_evdev.c165 #define MAX_SAMPLES 5 in tim_adjust_resolution() macro
166 double rmax_diff[MAX_SAMPLES], rmin_diff[MAX_SAMPLES]; in tim_adjust_resolution()
167 uint64_t min_tck[MAX_SAMPLES], max_tck[MAX_SAMPLES]; in tim_adjust_resolution()
168 uint64_t min_dst[MAX_SAMPLES], max_dst[MAX_SAMPLES]; in tim_adjust_resolution()
169 uint64_t min_ns[MAX_SAMPLES], max_ns[MAX_SAMPLES]; in tim_adjust_resolution()
173 tck_ns, MAX_SAMPLES, true); in tim_adjust_resolution()
174 sort_multi_array(rmax_diff, max_dst, max_tck, max_ns, MAX_SAMPLES); in tim_adjust_resolution()
177 tck_ns, MAX_SAMPLES, false); in tim_adjust_resolution()
178 sort_multi_array(rmin_diff, min_dst, min_tck, min_ns, MAX_SAMPLES); in tim_adjust_resolution()
180 for (i = 0; i < MAX_SAMPLES; i++) { in tim_adjust_resolution()