Home
last modified time | relevance | path

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

/samples/bpf/
Dmap_perf_test_user.c76 static uint32_t max_cnt = 1000000; variable
89 for (i = 0; i < max_cnt; i++) in test_hash_prealloc()
92 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc()
187 for (i = 0; i < max_cnt; i++) { in do_test_lru()
198 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru()
227 for (i = 0; i < max_cnt; i++) in test_percpu_hash_prealloc()
230 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc()
239 for (i = 0; i < max_cnt; i++) in test_hash_kmalloc()
242 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_kmalloc()
251 for (i = 0; i < max_cnt; i++) in test_percpu_hash_kmalloc()
[all …]
Dtracex3_user.c80 __u64 max_cnt = 0; in print_hist() local
93 if (value > max_cnt) in print_hist()
94 max_cnt = value; in print_hist()
98 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()