Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dmap_perf_test_user.c26 static __u64 time_get_ns(void) in time_get_ns() function
88 start_time = time_get_ns(); in test_hash_prealloc()
92 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc()
186 start_time = time_get_ns(); in do_test_lru()
198 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru()
226 start_time = time_get_ns(); in test_percpu_hash_prealloc()
230 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc()
238 start_time = time_get_ns(); in test_hash_kmalloc()
242 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_kmalloc()
250 start_time = time_get_ns(); in test_percpu_hash_kmalloc()
[all …]
Dtest_overhead_user.c25 static __u64 time_get_ns(void) in time_get_ns() function
44 start_time = time_get_ns(); in test_task_rename()
53 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename()
68 start_time = time_get_ns(); in test_urandom_read()
77 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_urandom_read()
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()
98 start_time = time_get_ns(); in main()
Dtracex4_user.c21 static __u64 time_get_ns(void) in time_get_ns() function
31 long long val = time_get_ns(); in print_old_objects()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
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()