/system/extras/tests/pagingtest/ |
mmap_test.c | 24 gettimeofday(&begin_time, NULL); 26 gettimeofday(&end_time, NULL); 34 gettimeofday(&begin_time, NULL); 36 gettimeofday(&end_time, NULL);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
timing.h | 46 #define BEGINTIMING gettimeofday(&beforetp, NULL)
48 #define ENDTIMING gettimeofday(&aftertp, NULL); \
|
/external/c-ares/ |
ares__timeval.c | 59 (void)gettimeofday(&now, NULL); 74 ** gettimeofday() is not granted to be increased monotonically, due to 79 (void)gettimeofday(&now, NULL);
|
/external/ltp/testcases/kernel/syscalls/gettimeofday/ |
gettimeofday01.c | 25 * Testcase to check that gettimeofday(2) sets errno to EFAULT. 28 * Call gettimeofday() with an invalid buffer, and expect EFAULT to be 44 #define gettimeofday(a,b) syscall(__NR_gettimeofday,a,b) macro 66 TEST(gettimeofday((void *)-1, (void *)-1)); 68 /* gettimeofday returns an int, so we need to turn the long 80 "gettimeofday(2) set the errno EFAULT correctly"); 83 "gettimeofday(2) didn't set errno to EFAULT, errno=%i (%s)", 106 tst_brkm(TCONF, "gettimeofday EFAULT check disabled on uClinux");
|
gettimeofday02.c | 22 * Check if gettimeofday is monotonous 25 * Call gettimeofday() to get a t1 (fist value) 39 #define gettimeofday(a,b) syscall(__NR_gettimeofday,a,b) macro 64 if (gettimeofday(&tv1, NULL)) { 65 tst_res(TBROK | TERRNO, "gettimeofday() failed"); 70 if (gettimeofday(&tv2, NULL)) { 71 tst_res(TBROK | TERRNO, "gettimeofday() failed"); 89 tst_res(TINFO, "gettimeofday() called %llu times", cnt); 90 tst_res(TPASS, "gettimeofday() monotonous in %i seconds", rtime);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
4-1.c | 51 if (gettimeofday(&tv_ref, NULL) != 0) { 67 if (gettimeofday(&tv_cur, NULL) != 0) {
|
/external/python/cpython2/Modules/ |
timing.h | 46 #define BEGINTIMING gettimeofday(&beforetp, NULL) 48 #define ENDTIMING gettimeofday(&aftertp, NULL); \
|
/external/swiftshader/src/Common/ |
Timer.cpp | 54 gettimeofday(&t, 0); 80 gettimeofday(&t, 0); 92 return 1000000; // gettimeofday uses microsecond resolution
|
/external/toybox/toys/posix/ |
time.c | 30 gettimeofday(&tv, NULL); 38 gettimeofday(&tv2, NULL);
|
/build/kati/ |
timeutil.cc | 31 if (gettimeofday(&tv, NULL) < 0) 32 PERROR("gettimeofday");
|
/external/libjpeg-turbo/ |
tjutil.c | 62 if(gettimeofday(&tv, NULL)<0) return 0.0;
|
/external/libvncserver/test/ |
tjutil.c | 62 if(gettimeofday(&tv, NULL)<0) return 0.0;
|
/external/mdnsresponder/mDNSWindows/ |
PosixCompat.h | 53 gettimeofday( struct timeval * tv, struct timezone * tz );
|
/prebuilts/ndk/r11/sources/android/ndk_helper/ |
perfMonitor.h | 54 gettimeofday( &time, NULL );
|
/prebuilts/ndk/r13/sources/android/ndk_helper/ |
perfMonitor.h | 54 gettimeofday( &time, NULL );
|
/system/bt/osi/src/ |
time.cc | 40 gettimeofday(&tv, NULL);
|
/external/ltp/utils/ffsb-6.0-rc2/ |
fh.c | 80 gettimeofday(&start, NULL); 89 gettimeofday(&end, NULL); 146 gettimeofday(&start, NULL); 150 gettimeofday(&end, NULL); 172 gettimeofday(&start, NULL); 177 gettimeofday(&end, NULL); 201 gettimeofday(&start, NULL); 206 gettimeofday(&end, NULL); 231 gettimeofday(&start, NULL); 236 gettimeofday(&end, NULL) [all...] |
/external/ltp/testcases/kernel/io/aio/aio01/ |
aio01.c | 128 gettimeofday(&stv, NULL); 143 gettimeofday(&etv, NULL); 159 gettimeofday(&stv, NULL); 174 gettimeofday(&etv, NULL); 190 gettimeofday(&stv, NULL); 205 gettimeofday(&etv, NULL); 221 gettimeofday(&stv, NULL); 236 gettimeofday(&etv, NULL); 252 gettimeofday(&stv, NULL); 282 gettimeofday(&etv, NULL) [all...] |
/external/ltp/testcases/kernel/syscalls/settimeofday/ |
settimeofday01.c | 92 gettimeofday(&tp, NULL); 102 if ((gettimeofday(&tp2, (struct timezone *)&tp1)) == -1) { 166 if ((gettimeofday(&tp, (struct timezone *)&tp1)) == -1) { 167 tst_brkm(TBROK, cleanup, "gettimeofday failed. "
|
/external/libmicrohttpd/src/testspdy/ |
common.c | 51 gettimeofday(&tv, NULL);
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
posix_timers.c | 106 err = gettimeofday(&start, NULL); 108 perror("Can't call gettimeofday()\n"); 125 err = gettimeofday(&end, NULL); 127 perror("Can't call gettimeofday()\n"); 164 err = gettimeofday(&start, NULL); 166 perror("Can't call gettimeofday()\n"); 178 err = gettimeofday(&end, NULL); 180 perror("Can't call gettimeofday()\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
1-2.c | 10 Validity is compared with gettimeofday(). See rationale.txt for 30 if (gettimeofday(&tvstandard, NULL) == 0) { 43 perror("Error calling gettimeofday()\n");
|
2-1.c | 10 * Validity is compared with gettimeofday(). See rationale.txt for 30 if (gettimeofday(&tvstandard, NULL) == 0) { 43 perror("Error calling gettimeofday()\n");
|
/frameworks/rs/tests/cpp_api/latency/ |
latency.cpp | 77 gettimeofday(&start, nullptr); 85 gettimeofday(&stop, nullptr); 91 gettimeofday(&start, nullptr); 101 gettimeofday(&stop, nullptr);
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/ |
loc_stub_time.cpp | 38 gettimeofday(&t, NULL);
|