Home
last modified time | relevance | path

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

/linux/samples/bpf/
H A Dmap_perf_test_user.c25 static __u64 time_get_ns(void) in time_get_ns() function
87 start_time = time_get_ns(); in test_hash_prealloc()
91 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc()
188 start_time = time_get_ns(); in do_test_lru()
200 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru()
228 start_time = time_get_ns(); in test_percpu_hash_prealloc()
232 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc()
240 start_time = time_get_ns(); in test_hash_kmalloc()
244 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_kmalloc()
252 start_time = time_get_ns(); in test_percpu_hash_kmalloc()
[all …]
H A Dtest_overhead_user.c32 static __u64 time_get_ns(void) in time_get_ns() function
51 start_time = time_get_ns(); in test_task_rename()
60 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename()
80 start_time = time_get_ns(); in test_fib_table_lookup()
90 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_fib_table_lookup()
H A Dtrace_output_user.c9 static __u64 time_get_ns(void) in time_get_ns() function
39 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in print_bpf_output()
96 start_time = time_get_ns(); in main()
H A Dtracex4_user.c20 static __u64 time_get_ns(void) in time_get_ns() function
30 long long val = time_get_ns(); in print_old_objects()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_overhead.c10 static __u64 time_get_ns(void) in time_get_ns() function
27 start_time = time_get_ns(); in test_task_rename()
37 MAX_CNT * 1000000ll / (time_get_ns() - start_time)); in test_task_rename()