/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/ |
H A D | Makefile | 129 c-obj-vdso-gettimeofday := vgettimeofday.o 131 ifneq ($(c-gettimeofday-y),) 132 VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y) 138 targets := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso) vdso.so vdso.so.dbg vdso.so.raw 140 c-obj-vdso-gettimeofday := $(addprefix $(obj)/, $(c-obj-vdso-gettimeofday)) 142 obj-vdso := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso) 169 $(c-obj-vdso-gettimeofday): %.o: %.c FORCE
|
/kernel/linux/linux-6.6/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 vdso.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) 148 $(c-obj-vdso-gettimeofday): %.o: %.c FORCE
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 105 err = gettimeofday(&start, NULL); in check_itimer() 107 perror("Can't call gettimeofday()\n"); in check_itimer() 124 err = gettimeofday(&end, NULL); in check_itimer() 126 perror("Can't call gettimeofday()\n"); in check_itimer() 163 err = gettimeofday(&start, NULL); in check_timer_create() 165 perror("Can't call gettimeofday()\n"); in check_timer_create() 177 err = gettimeofday(&end, NULL); in check_timer_create() 179 perror("Can't call gettimeofday()\n"); in check_timer_create()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | find-bit-bench.c | 77 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()
|
H A D | synthesize.c | 78 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()
|
H A D | kallsyms-parse.c | 47 gettimeofday(&start, NULL); in do_kallsyms_parse() 53 gettimeofday(&end, NULL); in do_kallsyms_parse()
|
H A D | syscall.c | 41 gettimeofday(&start, NULL); in bench_syscall_basic() 46 gettimeofday(&stop, NULL); in bench_syscall_basic()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | find-bit-bench.c | 79 gettimeofday(&start, NULL); in do_for_each_set_bit() 84 gettimeofday(&end, NULL); in do_for_each_set_bit() 93 gettimeofday(&start, NULL); in do_for_each_set_bit() 100 gettimeofday(&end, NULL); in do_for_each_set_bit()
|
H A D | synthesize.c | 78 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()
|
/kernel/liteos_m/testsuites/unittest/xts/time/ |
H A D | clock_time_test.c | 84 * @tc.name test gettimeofday api 95 int ret1 = gettimeofday(&tValStart, &tZone); 97 int ret2 = gettimeofday(&tValEnd, &tZone); 124 int ret2 = gettimeofday(&tValStart, NULL); 126 int ret3 = gettimeofday(&tValEnd, NULL);
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/vdso/ |
H A D | Makefile | 8 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) 24 CFLAGS_vgettimeofday-64.o += -include $(c-gettimeofday-y)
|
/kernel/linux/linux-6.6/lib/vdso/ |
H A D | Makefile | 6 c-gettimeofday-$(CONFIG_GENERIC_GETTIMEOFDAY) := $(addprefix $(GENERIC_VDSO_DIR), gettimeofday.c)
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 105 err = gettimeofday(&start, NULL); in check_itimer() 107 perror("Can't call gettimeofday()\n"); in check_itimer() 124 err = gettimeofday(&end, NULL); in check_itimer() 126 perror("Can't call gettimeofday()\n"); in check_itimer() 163 err = gettimeofday(&start, NULL); in check_timer_create() 165 perror("Can't call gettimeofday()\n"); in check_timer_create() 177 err = gettimeofday(&end, NULL); in check_timer_create() 179 perror("Can't call gettimeofday()\n"); in check_timer_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
H A D | gettimeofday.c | 17 gettimeofday(&tv_start, NULL); in test_gettimeofday() 20 gettimeofday(&tv_end, NULL); in test_gettimeofday() 30 return test_harness(test_gettimeofday, "gettimeofday"); in main()
|
/kernel/linux/linux-5.10/lib/vdso/ |
H A D | Makefile | 6 c-gettimeofday-$(CONFIG_GENERIC_GETTIMEOFDAY) := $(addprefix $(GENERIC_VDSO_DIR), gettimeofday.c)
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | gettimeofday.c | 17 gettimeofday(&tv_start, NULL); in test_gettimeofday() 20 gettimeofday(&tv_end, NULL); in test_gettimeofday() 32 return test_harness(test_gettimeofday, "gettimeofday"); in main()
|
/kernel/linux/linux-6.6/tools/thermal/lib/ |
H A D | uptimeofday.c | 18 gettimeofday(&__tv, NULL); in uptimeofday_init() 27 gettimeofday(&__tv, NULL); in getuptimeofday_ms()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/vdso/ |
H A D | Makefile | 9 obj-vdso := note.o datapage.o sigreturn.o gettimeofday.o 60 gettimeofday.o : gettimeofday.c FORCE
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/ |
H A D | pthread_mutex_test_018.cpp | 74 gettimeofday(&timeVal, nullptr); in ThreadFuncTest1() 141 gettimeofday(&timeVal, nullptr); in Testcase() 143 gettimeofday(&time, nullptr); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
H A D | pthread_mutex_test_008.cpp | 50 gettimeofday(&timeVal, nullptr); in ThreadFuncTest3() 76 gettimeofday(&timeVal, nullptr); in ThreadFuncTest2() 103 gettimeofday(&timeVal, nullptr); in ThreadFuncTest1()
|
H A D | pthread_mutex_test_020.cpp | 97 gettimeofday(&timeVal, nullptr); in ThreadFuncTest0() 183 gettimeofday(&timeVal, nullptr); in Testcase() 185 gettimeofday(&time, nullptr); in Testcase()
|
H A D | pthread_mutex_test_021.cpp | 97 gettimeofday(&timeVal, nullptr); in ThreadFuncTest0() 180 gettimeofday(&timeVal, nullptr); in Testcase() 182 gettimeofday(&time, nullptr); in Testcase()
|
H A D | pthread_mutex_test_022.cpp | 97 gettimeofday(&timeVal, nullptr); in ThreadFuncTest0() 180 gettimeofday(&timeVal, nullptr); in Testcase() 182 gettimeofday(&time, nullptr); in Testcase()
|
H A D | pthread_mutex_test_019.cpp | 73 gettimeofday(&timeVal, nullptr); in ThreadFuncTest1() 147 gettimeofday(&timeVal, nullptr); in Testcase() 149 gettimeofday(&time, nullptr); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/ |
H A D | tm-syscall.c | 75 gettimeofday(&end, NULL); in tm_syscall() 94 gettimeofday(&now, 0); in tm_syscall()
|