Home
last modified time | relevance | path

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

12345

/Linux-v6.1/arch/arm64/kernel/vdso32/
DMakefile117 c-obj-vdso-gettimeofday := vgettimeofday.o
119 ifneq ($(c-gettimeofday-y),)
120 VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y)
126 targets := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso) vdso.so vdso.so.dbg vdso.so.raw
128 c-obj-vdso-gettimeofday := $(addprefix $(obj)/, $(c-obj-vdso-gettimeofday))
130 obj-vdso := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso)
153 $(c-obj-vdso-gettimeofday): %.o: %.c FORCE
/Linux-v6.1/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()
/Linux-v6.1/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()
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()
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()
Dbreakpoint.c128 gettimeofday(&start, NULL); in bench_breakpoint_thread()
135 gettimeofday(&stop, NULL); in bench_breakpoint_thread()
212 gettimeofday(&start, NULL); in bench_breakpoint_enable()
219 gettimeofday(&stop, NULL); in bench_breakpoint_enable()
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()
Dsched-pipe.c99 gettimeofday(&start, NULL); in bench_sched_pipe()
147 gettimeofday(&stop, NULL); in bench_sched_pipe()
/Linux-v6.1/arch/powerpc/kernel/vdso/
DMakefile8 obj-vdso32 = sigtramp32-32.o gettimeofday-32.o datapage-32.o cacheflush-32.o note-32.o getcpu-32.o
9 obj-vdso64 = sigtramp64-64.o gettimeofday-64.o datapage-64.o cacheflush-64.o note-64.o getcpu-64.o
11 ifneq ($(c-gettimeofday-y),)
12 CFLAGS_vgettimeofday-32.o += -include $(c-gettimeofday-y)
19 CFLAGS_vgettimeofday-64.o += -include $(c-gettimeofday-y)
/Linux-v6.1/tools/testing/selftests/powerpc/benchmarks/
Dgettimeofday.c17 gettimeofday(&tv_start, NULL); in test_gettimeofday()
20 gettimeofday(&tv_end, NULL); in test_gettimeofday()
/Linux-v6.1/lib/vdso/
DMakefile6 c-gettimeofday-$(CONFIG_GENERIC_GETTIMEOFDAY) := $(addprefix $(GENERIC_VDSO_DIR), gettimeofday.c)
/Linux-v6.1/tools/thermal/lib/
Duptimeofday.c18 gettimeofday(&__tv, NULL); in uptimeofday_init()
27 gettimeofday(&__tv, NULL); in getuptimeofday_ms()
/Linux-v6.1/tools/testing/selftests/rcutorture/bin/
Dmkinitrd.sh46 if (gettimeofday(&tvb, NULL))
51 if (gettimeofday(&tv, NULL))
/Linux-v6.1/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c88 gettimeofday(&end, NULL); in tm_syscall()
116 gettimeofday(&now, 0); in tm_syscall()
/Linux-v6.1/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()
/Linux-v6.1/arch/arm64/kernel/vdso/
DMakefile53 ifneq ($(c-gettimeofday-y),)
54 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)
/Linux-v6.1/arch/csky/kernel/vdso/
DMakefile15 ifneq ($(c-gettimeofday-y),)
16 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)
/Linux-v6.1/arch/mips/vdso/
DMakefile42 ifneq ($(c-gettimeofday-y),)
43 CFLAGS_vgettimeofday.o = -include $(c-gettimeofday-y)
48 …_vgettimeofday-o32.o = -include $(srctree)/$(src)/config-n32-o32-env.c -include $(c-gettimeofday-y)
49 …_vgettimeofday-n32.o = -include $(srctree)/$(src)/config-n32-o32-env.c -include $(c-gettimeofday-y)
/Linux-v6.1/arch/riscv/kernel/vdso/
DMakefile22 ifneq ($(c-gettimeofday-y),)
23 CFLAGS_vgettimeofday.o += -fPIC -include $(c-gettimeofday-y)
/Linux-v6.1/arch/arm/vdso/
DMakefile32 ifeq ($(c-gettimeofday-y),)
35 CFLAGS_vgettimeofday.o = -O2 -include $(c-gettimeofday-y)
/Linux-v6.1/arch/loongarch/vdso/
DMakefile33 ifneq ($(c-gettimeofday-y),)
34 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)

12345