/linux-master/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 104 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 D | turbostat.c | 3465 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 D | datapage.h | 133 * 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 D | Makefile | 22 ifneq ($(c-gettimeofday-y),) 23 CFLAGS_vgettimeofday.o += -fPIC -include $(c-gettimeofday-y)
|
/linux-master/scripts/kconfig/ |
H A D | conf.c | 109 gettimeofday(&now, NULL);
|
/linux-master/arch/loongarch/vdso/ |
H A D | Makefile | 33 ifneq ($(c-gettimeofday-y),) 34 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)
|
/linux-master/tools/testing/selftests/damon/ |
H A D | debugfs_target_ids_pid_leak.c | 35 gettimeofday(&tv, NULL);
|
/linux-master/tools/perf/util/ |
H A D | debug.c | 73 if (gettimeofday(&tod, NULL) != 0)
|
/linux-master/tools/perf/ |
H A D | builtin-record.c | 2214 if (gettimeofday(&ref_tod, NULL) != 0) { 2215 pr_err("gettimeofday failed, cannot set reference time.\n");
|
/linux-master/tools/testing/selftests/net/ |
H A D | udpgso_bench_rx.c | 88 gettimeofday(&tv, NULL);
|
/linux-master/arch/arm64/kernel/vdso32/ |
H A D | Makefile | 112 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 D | switch-tracking.c | 34 err = gettimeofday(&start, NULL); 43 err = gettimeofday(&now, NULL);
|
/linux-master/tools/perf/bench/ |
H A D | futex-wake-parallel.c | 84 gettimeofday(&start, NULL); 91 gettimeofday(&end, NULL);
|
H A D | futex-wake.c | 204 gettimeofday(&start, NULL); 208 gettimeofday(&end, NULL);
|
H A D | sched-seccomp-notify.c | 105 gettimeofday(&start, NULL); 142 gettimeofday(&stop, NULL);
|
H A D | futex-requeue.c | 235 gettimeofday(&start, NULL); 263 gettimeofday(&end, NULL);
|
H A D | futex-lock-pi.c | 78 gettimeofday(&bench__end, NULL); 208 gettimeofday(&bench__start, NULL);
|
H A D | futex-hash.c | 109 gettimeofday(&bench__end, NULL); 175 gettimeofday(&bench__start, NULL);
|
H A D | epoll-wait.c | 278 gettimeofday(&bench__end, NULL); 495 gettimeofday(&bench__start, NULL);
|
H A D | epoll-ctl.c | 96 gettimeofday(&bench__end, NULL); 377 gettimeofday(&bench__start, NULL);
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | mkinitrd.sh | 49 if (gettimeofday(&tvb, NULL)) 54 if (gettimeofday(&tv, NULL))
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xskxceiver.c | 1201 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 D | nolibc-test.c | 937 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 D | sys.h | 491 * 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 D | vclock_gettime.c | 3 * 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 *)
|