Home
last modified time | relevance | path

Searched refs:gettimeofday (Results 1 – 25 of 49) 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.gitignore2 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/perf/bench/
Dfind-bit-bench.c77 gettimeofday(&start, NULL); in do_for_each_set_bit()
82 gettimeofday(&end, NULL); in do_for_each_set_bit()
89 gettimeofday(&start, NULL); in do_for_each_set_bit()
96 gettimeofday(&end, NULL); in do_for_each_set_bit()
Dsyscall.c41 gettimeofday(&start, NULL); in bench_syscall_basic()
46 gettimeofday(&stop, NULL); in bench_syscall_basic()
Dkallsyms-parse.c47 gettimeofday(&start, NULL); in do_kallsyms_parse()
53 gettimeofday(&end, NULL); in do_kallsyms_parse()
Dsynthesize.c78 gettimeofday(&start, NULL); in do_run_single_threaded()
88 gettimeofday(&end, NULL); in do_run_single_threaded()
169 gettimeofday(&start, NULL); in do_run_multi_threaded()
181 gettimeofday(&end, NULL); in do_run_multi_threaded()
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.c192 gettimeofday(&start, NULL); in bench_futex_wake()
196 gettimeofday(&end, NULL); in bench_futex_wake()
Dfutex-hash.c108 gettimeofday(&bench__end, NULL); in toggle_done()
172 gettimeofday(&bench__start, NULL); in bench_futex_hash()
Dsched-messaging.c290 gettimeofday(&start, NULL); in bench_sched_messaging()
300 gettimeofday(&stop, NULL); in bench_sched_messaging()
Dfutex-requeue.c222 gettimeofday(&start, NULL); in bench_futex_requeue()
250 gettimeofday(&end, NULL); in bench_futex_requeue()
Dfutex-lock-pi.c77 gettimeofday(&bench__end, NULL); in toggle_done()
195 gettimeofday(&bench__start, NULL); in bench_futex_lock_pi()
Devlist-open-close.c161 gettimeofday(&start, NULL); in bench_evlist_open_close__run()
168 gettimeofday(&end, NULL); in bench_evlist_open_close__run()
Dfutex-wake-parallel.c83 gettimeofday(&start, NULL); in waking_workerfn()
90 gettimeofday(&end, NULL); in waking_workerfn()
/tools/testing/selftests/rcutorture/bin/
Dmkinitrd.sh46 if (gettimeofday(&tvb, NULL))
51 if (gettimeofday(&tv, NULL))
/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c88 gettimeofday(&end, NULL); in tm_syscall()
116 gettimeofday(&now, 0); in tm_syscall()
/tools/testing/selftests/net/
Dtimestamping.c142 gettimeofday(&now, 0); in sendpacket()
164 gettimeofday(&now, 0); in printpacket()
497 gettimeofday(&next, 0); in main()
507 gettimeofday(&now, 0); in main()
523 gettimeofday(&now, 0); in main()
Dfin_ack_lat.c40 gettimeofday(&start, NULL); in client()
68 gettimeofday(&end, NULL); in client()
/tools/power/cpupower/bench/
Dsystem.c31 gettimeofday(&now, NULL); in get_time()
/tools/perf/Documentation/
Dperf-bench.txt175 Use perf's cpu-cycles event instead of gettimeofday syscall.
199 Use perf's cpu-cycles event instead of gettimeofday syscall.

12