Searched refs:gettimeofday (Results 1 - 25 of 76) sorted by last modified time

1234

/linux-master/tools/testing/selftests/timers/
H A Dposix_timers.c104 err = gettimeofday(&start, NULL);
106 ksft_perror("Can't call gettimeofday()");
123 err = gettimeofday(&end, NULL);
125 ksft_perror("Can't call gettimeofday()");
161 err = gettimeofday(&start, NULL);
163 ksft_perror("Can't call gettimeofday()");
175 err = gettimeofday(&end, NULL);
177 ksft_perror("Can't call gettimeofday()");
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c3465 gettimeofday(&t->tv_begin, (struct timezone *)NULL);
3660 gettimeofday(&t->tv_end, (struct timezone *)NULL);
5060 gettimeofday(&tv_even, (struct timezone *)NULL);
5081 gettimeofday(&tv_odd, (struct timezone *)NULL);
5104 gettimeofday(&tv_even, (struct timezone *)NULL);
7437 gettimeofday(&tv_even, (struct timezone *)NULL);
7464 gettimeofday(&tv_odd, (struct timezone *)NULL);
/linux-master/include/vdso/
H A Ddatapage.h133 * The generic vDSO implementation requires that gettimeofday.h
138 * - gettimeofday_fallback(): fallback for gettimeofday.
145 #include <asm/vdso/gettimeofday.h>
/linux-master/arch/riscv/kernel/vdso/
H A DMakefile22 ifneq ($(c-gettimeofday-y),)
23 CFLAGS_vgettimeofday.o += -fPIC -include $(c-gettimeofday-y)
/linux-master/scripts/kconfig/
H A Dconf.c109 gettimeofday(&now, NULL);
/linux-master/arch/loongarch/vdso/
H A DMakefile33 ifneq ($(c-gettimeofday-y),)
34 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_pid_leak.c35 gettimeofday(&tv, NULL);
/linux-master/tools/perf/util/
H A Ddebug.c73 if (gettimeofday(&tod, NULL) != 0)
/linux-master/tools/perf/
H A Dbuiltin-record.c2214 if (gettimeofday(&ref_tod, NULL) != 0) {
2215 pr_err("gettimeofday failed, cannot set reference time.\n");
/linux-master/tools/testing/selftests/net/
H A Dudpgso_bench_rx.c88 gettimeofday(&tv, NULL);
/linux-master/arch/arm64/kernel/vdso32/
H A DMakefile112 c-obj-vdso-gettimeofday := vgettimeofday.o
114 ifneq ($(c-gettimeofday-y),)
115 VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y)
121 targets := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso) vdso.so vdso32.so.dbg vdso.so.raw
123 c-obj-vdso-gettimeofday := $(addprefix $(obj)/, $(c-obj-vdso-gettimeofday))
125 obj-vdso := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso)
145 $(c-obj-vdso-gettimeofday): %.o: %.c FORCE
/linux-master/tools/perf/tests/
H A Dswitch-tracking.c34 err = gettimeofday(&start, NULL);
43 err = gettimeofday(&now, NULL);
/linux-master/tools/perf/bench/
H A Dfutex-wake-parallel.c84 gettimeofday(&start, NULL);
91 gettimeofday(&end, NULL);
H A Dfutex-wake.c204 gettimeofday(&start, NULL);
208 gettimeofday(&end, NULL);
H A Dsched-seccomp-notify.c105 gettimeofday(&start, NULL);
142 gettimeofday(&stop, NULL);
H A Dfutex-requeue.c235 gettimeofday(&start, NULL);
263 gettimeofday(&end, NULL);
H A Dfutex-lock-pi.c78 gettimeofday(&bench__end, NULL);
208 gettimeofday(&bench__start, NULL);
H A Dfutex-hash.c109 gettimeofday(&bench__end, NULL);
175 gettimeofday(&bench__start, NULL);
H A Depoll-wait.c278 gettimeofday(&bench__end, NULL);
495 gettimeofday(&bench__start, NULL);
H A Depoll-ctl.c96 gettimeofday(&bench__end, NULL);
377 gettimeofday(&bench__start, NULL);
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dmkinitrd.sh49 if (gettimeofday(&tvb, NULL))
54 if (gettimeofday(&tv, NULL))
/linux-master/tools/testing/selftests/bpf/
H A Dxskxceiver.c1201 ret = gettimeofday(&tv_now, NULL);
1217 ret = gettimeofday(&tv_now, NULL);
1359 ret = gettimeofday(&tv_now, NULL);
1365 ret = gettimeofday(&tv_now, NULL);
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c937 CASE_TEST(gettimeofday_tv); EXPECT_SYSZR(1, gettimeofday(&tv, NULL)); break;
938 CASE_TEST(gettimeofday_tv_tz);EXPECT_SYSZR(1, gettimeofday(&tv, &tz)); break;
/linux-master/tools/include/nolibc/
H A Dsys.h491 * int gettimeofday(struct timeval *tv, struct timezone *tz);
505 int gettimeofday(struct timeval *tv, struct timezone *tz) function
/linux-master/arch/x86/entry/vdso/
H A Dvclock_gettime.c3 * Fast user context implementation of clock_gettime, gettimeofday, and time.
16 #include "../../../../lib/vdso/gettimeofday.c"
23 int gettimeofday(struct __kernel_old_timeval *, struct timezone *)

Completed in 518 milliseconds

1234