/external/ltp/testcases/kernel/syscalls/gettimeofday/ |
D | gettimeofday02.c | 57 struct timeval tv1, tv2; in verify_gettimeofday() local 64 if (gettimeofday(&tv1, NULL)) { in verify_gettimeofday() 75 if (tv2.tv_sec < tv1.tv_sec || in verify_gettimeofday() 76 (tv2.tv_sec == tv1.tv_sec && tv2.tv_usec < tv1.tv_usec)) { in verify_gettimeofday() 79 (intmax_t) tv1.tv_sec, (intmax_t) tv1.tv_usec, in verify_gettimeofday() 84 tv1 = tv2; in verify_gettimeofday()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | TimeValue.h | 192 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2); 197 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2); 371 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { 372 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 377 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { 378 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TimeValue.h | 183 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2); 188 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2); 367 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { 368 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 373 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { 374 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 192 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2); 197 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2); 371 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { 372 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 377 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { 378 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
|
/external/android-clat/ |
D | clatd_microbenchmark.c | 127 double timedelta(const struct timespec tv1, const struct timespec tv2) { in timedelta() argument 129 if (end.tv_nsec < tv1.tv_nsec) { in timedelta() 133 double seconds = (end.tv_sec - tv1.tv_sec); in timedelta() 134 seconds += (((double) (end.tv_nsec - tv1.tv_nsec)) / SEC_TO_NANOSEC); in timedelta() 142 struct timespec tv1, tv2; in benchmark() local 144 clock_gettime(CLOCK_MONOTONIC, &tv1); in benchmark() 156 double seconds = timedelta(tv1, tv2); in benchmark()
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | DGMRES.h | 298 DenseVector tv1(n), tv2(n); //Temporary vectors 304 dgmresApplyDeflation(m_V.col(it), tv1); // Deflation 305 tv2 = precond.solve(tv1); 311 tv1 = mat * tv2; 317 coef = tv1.dot(m_V.col(i)); 318 tv1 = tv1 - coef * m_V.col(i); 323 coef = tv1.norm(); 324 m_V.col(it+1) = tv1/coef; 363 tv1 = m_V.leftCols(it) * nrs; 364 dgmresApplyDeflation(tv1, tv2); [all …]
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
D | rpc_clnt_call_scalability.c | 67 struct timeval tv1, tv2; in main() local 94 gettimeofday(&tv1, &tz); in main() 109 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 110 tv1.tv_usec); in main()
|
D | rpc_clnt_call_performance.c | 93 struct timeval tv1, tv2; in main() local 120 gettimeofday(&tv1, &tz); in main() 135 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 136 tv1.tv_usec); in main()
|
/external/iputils/ |
D | clockdiff.c | 135 struct timeval tv1, tout; in measure() local 195 (void)gettimeofday (&tv1, (struct timezone *)0); in measure() 196 *(__u32*)(oicp+1) = htonl((tv1.tv_sec % (24*60*60)) * 1000 in measure() 197 + tv1.tv_usec / 1000); in measure() 219 (void)gettimeofday(&tv1, (struct timezone *)0); in measure() 233 recvtime = (tv1.tv_sec % (24*60*60)) * 1000 + in measure() 234 tv1.tv_usec / 1000; in measure() 312 struct timeval tv1, tout; in measure_opt() local 373 gettimeofday (&tv1, NULL); in measure_opt() 374 ((__u32*)(oicp+1))[0] = htonl((tv1.tv_sec % (24*60*60)) * 1000 in measure_opt() [all …]
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/ |
D | rpc_clntraw_create_performance.c | 93 struct timeval tv1, tv2; in main() local 107 gettimeofday(&tv1, &tz); in main() 117 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 118 tv1.tv_usec); in main()
|
D | rpc_clntraw_create_complex.c | 49 struct timeval tv1, tv2; in main() local 92 gettimeofday(&tv1, &tz); in main() 101 (tv2.tv_sec - tv1.tv_sec) * 1000000L + in main() 102 (tv2.tv_usec - tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ |
D | rpc_svcudp_create_performance.c | 93 struct timeval tv1, tv2; in main() local 109 gettimeofday(&tv1, &tz); in main() 119 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 120 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/ |
D | rpc_svcraw_create_performance.c | 93 struct timeval tv1, tv2; in main() local 106 gettimeofday(&tv1, &tz); in main() 116 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 117 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/ |
D | rpc_svctcp_create_performance.c | 93 struct timeval tv1, tv2; in main() local 109 gettimeofday(&tv1, &tz); in main() 119 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 120 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/ |
D | rpc_callrpc_scalability.c | 93 struct timeval tv1, tv2; in main() local 109 gettimeofday(&tv1, &tz); in main() 124 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 125 tv1.tv_usec); in main()
|
D | rpc_callrpc_performance.c | 93 struct timeval tv1, tv2; in main() local 109 gettimeofday(&tv1, &tz); in main() 124 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 125 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/ |
D | rpc_clnt_broadcast_scalability.c | 95 struct timeval tv1, tv2; in main() local 111 gettimeofday(&tv1, &tz); in main() 127 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 128 tv1.tv_usec); in main()
|
D | rpc_clnt_broadcast_performance.c | 95 struct timeval tv1, tv2; in main() local 111 gettimeofday(&tv1, &tz); in main() 127 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 128 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/ |
D | tirpc_rpc_broadcast_performance.c | 99 struct timeval tv1, tv2; in main() local 116 gettimeofday(&tv1, &tz); in main() 129 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 130 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/ |
D | tirpc_rpc_broadcast_exp_performance.c | 99 struct timeval tv1, tv2; in main() local 116 gettimeofday(&tv1, &tz); in main() 130 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 131 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/ |
D | tirpc_rpc_call_performance.c | 93 struct timeval tv1, tv2; in main() local 117 gettimeofday(&tv1, &tz); in main() 129 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 130 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/ |
D | tirpc_interlevel_clnt_call_performance.c | 93 struct timeval tv1, tv2; in main() local 130 gettimeofday(&tv1, &tz); in main() 142 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 143 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
D | rpc_clnttcp_create_performance.c | 95 struct timeval tv1, tv2; in main() local 122 gettimeofday(&tv1, &tz); in main() 136 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 137 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/ |
D | rpc_clntudp_create_performance.c | 94 struct timeval tv1, tv2; in main() local 124 gettimeofday(&tv1, &tz); in main() 136 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 137 tv1.tv_usec); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/ |
D | tirpc_toplevel_clnt_call_performance.c | 93 struct timeval tv1, tv2; in main() local 121 gettimeofday(&tv1, &tz); in main() 133 (tv2.tv_sec - tv1.tv_sec) * 1000000L + (tv2.tv_usec - in main() 134 tv1.tv_usec); in main()
|