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

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

Completed in 133 milliseconds