Home
last modified time | relevance | path

Searched refs:gettimeofday (Results 1 – 25 of 39) sorted by relevance

12

/tools/testing/selftests/powerpc/benchmarks/
Dgettimeofday.c17 gettimeofday(&tv_start, NULL); in test_gettimeofday()
20 gettimeofday(&tv_end, NULL); in test_gettimeofday()
D.gitignore1 gettimeofday
DMakefile2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
/tools/testing/selftests/timers/
Dposix_timers.c105 err = gettimeofday(&start, NULL); in check_itimer()
124 err = gettimeofday(&end, NULL); in check_itimer()
163 err = gettimeofday(&start, NULL); in check_timer_create()
177 err = gettimeofday(&end, NULL); in check_timer_create()
Dset-tz.c44 gettimeofday(&tv, &tz); in get_tz_min()
54 gettimeofday(&tv, &tz); in get_tz_dst()
Drtcpie.c103 gettimeofday(&start, NULL); in main()
110 gettimeofday(&end, NULL); in main()
/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c75 gettimeofday(&end, NULL); in tm_syscall()
94 gettimeofday(&now, 0); in tm_syscall()
/tools/testing/selftests/rcutorture/bin/
Dmkinitrd.sh95 if (gettimeofday(&tvb, NULL))
100 if (gettimeofday(&tv, NULL))
/tools/perf/bench/
Dsched-pipe.c99 gettimeofday(&start, NULL); in bench_sched_pipe()
147 gettimeofday(&stop, NULL); in bench_sched_pipe()
Dmem-functions.c262 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memcpy_gettimeofday()
265 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memcpy_gettimeofday()
336 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memset_gettimeofday()
339 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memset_gettimeofday()
Dfutex-wake.c181 gettimeofday(&start, NULL); in bench_futex_wake()
184 gettimeofday(&end, NULL); in bench_futex_wake()
Dfutex-requeue.c176 gettimeofday(&start, NULL); in bench_futex_requeue()
186 gettimeofday(&end, NULL); in bench_futex_requeue()
Dfutex-hash.c106 gettimeofday(&bench__end, NULL); in toggle_done()
164 gettimeofday(&bench__start, NULL); in bench_futex_hash()
Dfutex-lock-pi.c75 gettimeofday(&bench__end, NULL); in toggle_done()
187 gettimeofday(&bench__start, NULL); in bench_futex_lock_pi()
Dsched-messaging.c290 gettimeofday(&start, NULL); in bench_sched_messaging()
300 gettimeofday(&stop, NULL); in bench_sched_messaging()
Dfutex-wake-parallel.c80 gettimeofday(&start, NULL); in waking_workerfn()
87 gettimeofday(&end, NULL); in waking_workerfn()
Depoll-ctl.c96 gettimeofday(&bench__end, NULL); in toggle_done()
363 gettimeofday(&bench__start, NULL); in bench_epoll_ctl()
Depoll-wait.c278 gettimeofday(&bench__end, NULL); in toggle_done()
481 gettimeofday(&bench__start, NULL); in bench_epoll_wait()
Dnuma.c1151 gettimeofday(&start0, NULL); in worker_thread()
1191 gettimeofday(&stop, NULL); in worker_thread()
1258 gettimeofday(&stop, NULL); in worker_thread()
1512 gettimeofday(&start, NULL); in __bench_numa()
1545 gettimeofday(&stop, NULL); in __bench_numa()
1559 gettimeofday(&start, NULL); in __bench_numa()
1582 gettimeofday(&stop, NULL); in __bench_numa()
/tools/testing/selftests/networking/timestamping/
Dtimestamping.c125 gettimeofday(&now, 0); in sendpacket()
145 gettimeofday(&now, 0); in printpacket()
461 gettimeofday(&next, 0); in main()
471 gettimeofday(&now, 0); in main()
487 gettimeofday(&now, 0); in main()
/tools/power/cpupower/bench/
Dsystem.c31 gettimeofday(&now, NULL); in get_time()
/tools/perf/Documentation/
Dperf-bench.txt161 Use perf's cpu-cycles event instead of gettimeofday syscall.
185 Use perf's cpu-cycles event instead of gettimeofday syscall.
/tools/testing/selftests/net/
Dtcp_mmap.c136 gettimeofday(&t0, NULL); in child_thread()
198 gettimeofday(&t1, NULL); in child_thread()
Dudpgso_bench_rx.c88 gettimeofday(&tv, NULL); in gettimeofday_ms()
/tools/perf/tests/
Dswitch-tracking.c30 err = gettimeofday(&start, NULL); in spin_sleep()
39 err = gettimeofday(&now, NULL); in spin_sleep()

12