Home
last modified time | relevance | path

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

/Linux-v6.1/samples/bpf/
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 …]
Dtest_overhead_user.c28 static __u64 time_get_ns(void) in time_get_ns() function
47 start_time = time_get_ns(); in test_task_rename()
56 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename()
71 start_time = time_get_ns(); in test_urandom_read()
80 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()
96 start_time = time_get_ns(); in main()
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-v6.1/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()