Home
last modified time | relevance | path

Searched refs:gettimeofday (Results 1 - 25 of 309) sorted by relevance

12345678910>>...13

/third_party/ltp/testcases/kernel/io/aio/
H A Daio01.c128 gettimeofday(&stv, NULL); in main()
143 gettimeofday(&etv, NULL); in main()
159 gettimeofday(&stv, NULL); in main()
174 gettimeofday(&etv, NULL); in main()
190 gettimeofday(&stv, NULL); in main()
205 gettimeofday(&etv, NULL); in main()
221 gettimeofday(&stv, NULL); in main()
236 gettimeofday(&etv, NULL); in main()
252 gettimeofday(&stv, NULL); in main()
282 gettimeofday( in main()
[all...]
/third_party/jerryscript/jerry-main/
H A Dbenchmarking.c29 * gettimeofday, which has different declarations on different platforms
33 #define gettimeofday __prevent_conflicting_gettimeofday_declarations__ macro
35 #undef gettimeofday macro
37 int gettimeofday (struct timeval *, void *);
40 * Useless but stable gettimeofday implementation. Returns Epoch. Ensures that
43 int gettimeofday (struct timeval *tv, in gettimeofday() function
50 } /* gettimeofday */ in gettimeofday()
/third_party/musl/Benchmark/musl/
H A Dlibc_dlopen.cpp28 gettimeofday(&timeStart, nullptr); in ScopeTime()
34 gettimeofday(&timeCurrent, nullptr); in CurrentTime()
42 gettimeofday(&timeEnd, nullptr); in ~ScopeTime()
/third_party/benchmark/src/
H A Dcycleclock.h135 // Use clock_gettime(CLOCK_MONOTONIC, ...) instead of gettimeofday in Now()
169 gettimeofday(&tv, nullptr); in Now()
173 // back to gettimeofday. It's possible clock_gettime would be better. in Now()
175 gettimeofday(&tv, nullptr); in Now()
179 gettimeofday(&tv, nullptr); in Now()
214 gettimeofday(&tv, nullptr); in Now()
/third_party/ltp/testcases/kernel/fs/fsx-linux/
H A Dfsx-linux.c593 gettimeofday(&t, NULL); in doread()
624 gettimeofday(&t, NULL); in doread()
648 gettimeofday(&t, NULL); in domapread()
681 gettimeofday(&t, NULL); in domapread()
689 gettimeofday(&t, NULL); in domapread()
700 gettimeofday(&t, NULL); in domapread()
726 gettimeofday(&t, NULL); in dowrite()
762 gettimeofday(&t, NULL); in dowrite()
786 gettimeofday(&t, NULL); in domapwrite()
823 gettimeofday( in domapwrite()
[all...]
/third_party/libcoap/src/
H A Dcoap_time.c42 gettimeofday(struct timeval *tp, TIME_ZONE_INFORMATION *tzp) { in gettimeofday() function
68 gettimeofday(&tv, NULL); in coap_clock_init()
98 /* Fall back to gettimeofday() */ in coap_ticks()
101 gettimeofday(&tv, NULL); in coap_ticks()
102 /* Possible errors are (see gettimeofday(2)): in coap_ticks()
/third_party/node/test/wasi/c/
H A Dgettimeofday.c15 r = gettimeofday(&tv1, NULL); in main()
21 r = gettimeofday(&tv2, NULL); in main()
/third_party/ltp/testcases/kernel/syscalls/stime/
H A Dstime01.c30 if (gettimeofday(&real_time_tv, NULL) < 0) in run()
31 tst_brk(TBROK | TERRNO, "gettimeofday() failed"); in run()
40 if (gettimeofday(&pres_time_tv, NULL) < 0) in run()
41 tst_brk(TBROK | TERRNO, "gettimeofday() failed"); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
H A D4-1.c51 if (gettimeofday(&tv_ref, NULL) != 0) { in main()
67 if (gettimeofday(&tv_cur, NULL) != 0) { in main()
/third_party/node/deps/cares/src/lib/
H A Dares__timeval.c71 (void)gettimeofday(&now, NULL); /* LCOV_EXCL_LINE */ in ares__tvnow()
86 ** gettimeofday() is not granted to be increased monotonically, due to in ares__tvnow()
91 (void)gettimeofday(&now, NULL); in ares__tvnow()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DTimer.cpp54 gettimeofday(&t, 0); in seconds()
82 gettimeofday(&t, 0); in counter()
94 return 1000000; // gettimeofday uses microsecond resolution in frequency()
/third_party/skia/third_party/externals/libwebp/examples/
H A Dstopwatch.h48 gettimeofday(watch, NULL); in StopwatchReset()
55 gettimeofday(watch, NULL); in StopwatchReadAndReset()
/third_party/vixl/benchmarks/aarch32/
H A Dbench-dataop.cc47 gettimeofday(&start, NULL); in benchmark()
61 gettimeofday(&end, NULL); in benchmark()
H A Dbench-branch-masm.cc48 gettimeofday(&start, NULL); in benchmark()
65 gettimeofday(&end, NULL); in benchmark()
H A Dbench-literal.cc49 gettimeofday(&start, NULL); in benchmark()
65 gettimeofday(&end, NULL); in benchmark()
/third_party/libunwind/libunwind/tests/
H A Dforker.c50 gettimeofday (&start, NULL); in main()
69 gettimeofday (&stop, NULL); in main()
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Dtimed_forkbomb.c62 if (gettimeofday(&start, NULL)) in main()
78 if (gettimeofday(&now, NULL) && (errno != EINTR)) in main()
/third_party/ltp/testcases/kernel/syscalls/settimeofday/
H A Dsettimeofday01.c24 if (gettimeofday(&tv1, NULL) == -1) in verify_settimeofday()
25 tst_brk(TBROK | TERRNO, "gettimeofday(&tv1, NULL) failed"); in verify_settimeofday()
38 if (gettimeofday(&tv2, NULL) == -1) in verify_settimeofday()
39 tst_brk(TBROK | TERRNO, "gettimeofday(&tv2, NULL) failed"); in verify_settimeofday()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
H A D1-1.c99 if (gettimeofday(&time1, NULL) == -1) { in main()
100 perror("gettimeofday()"); in main()
108 if (gettimeofday(&time2, NULL) == -1) { in main()
109 perror("gettimeofday()"); in main()
H A D2-1.c100 if (gettimeofday(&time1, NULL) == -1) { in main()
101 perror("gettimeofday()"); in main()
109 if (gettimeofday(&time2, NULL) == -1) { in main()
110 perror("gettimeofday()"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dgettimeofday.c42 int returnflag = gettimeofday(&tv, NULL); in gettimeofday_0100()
55 int returnflag = gettimeofday(NULL, NULL); in gettimeofday_0200()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DTimer.cpp54 gettimeofday(&t, 0); in seconds()
85 gettimeofday(&t, 0); in counter()
97 return 1000000; // gettimeofday uses microsecond resolution in frequency()
/third_party/toybox/toys/posix/
H A Dtime.c32 gettimeofday(&tv, NULL); in time_main()
40 gettimeofday(&tv2, NULL); in time_main()
/third_party/curl/src/
H A Dtool_util.c88 (void)gettimeofday(&now, NULL); in tvnow()
103 ** gettimeofday() is not granted to be increased monotonically, due to in tvnow()
108 (void)gettimeofday(&now, NULL); in tvnow()
/third_party/curl/tests/libtest/
H A Dtestutil.c69 (void)gettimeofday(&now, NULL); in tutil_tvnow()
84 ** gettimeofday() is not granted to be increased monotonically, due to in tutil_tvnow()
89 (void)gettimeofday(&now, NULL); in tutil_tvnow()

Completed in 8 milliseconds

12345678910>>...13