Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/bench/page_pool/
H A Dtime_bench.c120 uint32_t invoked_cnt = 0; /* 32-bit due to div_u64_rem() */ in time_bench_calc_stats() local
123 if (rec->invoked_cnt < 1000) { in time_bench_calc_stats()
125 rec->invoked_cnt); in time_bench_calc_stats()
128 if (rec->invoked_cnt > ((1ULL << 32) - 1)) { in time_bench_calc_stats()
131 rec->invoked_cnt); in time_bench_calc_stats()
134 invoked_cnt = (uint32_t)rec->invoked_cnt; in time_bench_calc_stats()
146 rec->tsc_cycles = rec->tsc_interval / invoked_cnt; in time_bench_calc_stats()
175 div_u64_rem(rec->time_interval, invoked_cnt, in time_bench_calc_stats()
179 invoked_cnt_precision = invoked_cnt / 1000; in time_bench_calc_stats()
234 if (rec.invoked_cnt < loops) in time_bench_loop()
[all …]
H A Dtime_bench.h26 uint64_t invoked_cnt; /* Returned actual invocations */ member
226 uint64_t invoked_cnt) in time_bench_stop() argument
235 rec->invoked_cnt = invoked_cnt; in time_bench_stop()