/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 1-1.c | 164 struct timeval time_diff; in main() local 165 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 166 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 167 if (time_diff.tv_usec < 0) { in main() 168 --time_diff.tv_sec; in main() 169 time_diff.tv_usec += 1000000; in main() 171 if (time_diff.tv_sec < TIMEOUT) { in main() 174 TIMEOUT, (long)time_diff.tv_sec, in main() 175 (long)time_diff.tv_usec); in main() 221 struct timeval time_diff; in main() local [all …]
|
D | 3-1.c | 184 struct timeval time_diff; in main() local 185 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 186 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 187 if (time_diff.tv_usec < 0) { in main() 188 --time_diff.tv_sec; in main() 189 time_diff.tv_usec += 1000000; in main() 191 if (time_diff.tv_sec < TIMEOUT) { in main() 195 TIMEOUT, (long)time_diff.tv_sec, in main() 196 (long)time_diff.tv_usec); in main() 242 struct timeval time_diff; in main() local [all …]
|
D | 6-1.c | 112 struct timeval time_diff; in main() local 169 time_diff.tv_sec = after_wait.tv_sec - before_wait.tv_sec; in main() 170 time_diff.tv_usec = after_wait.tv_usec - before_wait.tv_usec; in main() 171 if (time_diff.tv_usec < 0) { in main() 172 --time_diff.tv_sec; in main() 173 time_diff.tv_usec += 1000000; in main() 175 if (time_diff.tv_sec < TIMEOUT) { in main() 178 TIMEOUT, (long)time_diff.tv_sec, (long)time_diff.tv_usec); in main()
|
/external/libdrm/tests/ttmtest/src/ |
D | ttmtest.c | 129 time_diff(unsigned t, unsigned t2) in time_diff() function 186 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 192 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 197 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 202 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 207 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 212 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 224 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 230 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 235 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
D | 1-1.c | 52 struct timeval time_diff; in main() local 83 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 84 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 85 if (time_diff.tv_usec < 0) { in main() 86 --time_diff.tv_sec; in main() 87 time_diff.tv_usec += 1000000; in main() 89 if (time_diff.tv_sec < TIMEOUT) { in main()
|
D | 2-1.c | 55 struct timeval time_diff; in main() local 86 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 87 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 88 if (time_diff.tv_usec < 0) { in main() 89 --time_diff.tv_sec; in main() 90 time_diff.tv_usec += 1000000; in main() 92 if (time_diff.tv_sec < TIMEOUT) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 1-1.c | 165 struct timeval time_diff; in main() local 166 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 167 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 168 if (time_diff.tv_usec < 0) { in main() 169 --time_diff.tv_sec; in main() 170 time_diff.tv_usec += 1000000; in main() 172 if (time_diff.tv_sec < TIMEOUT) { in main()
|
D | 3-1.c | 179 struct timeval time_diff; in main() local 180 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; in main() 181 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; in main() 182 if (time_diff.tv_usec < 0) { in main() 183 --time_diff.tv_sec; in main() 184 time_diff.tv_usec += 1000000; in main() 186 if (time_diff.tv_sec < TIMEOUT) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/ |
D | 1-1.c | 24 double time_diff; in main() local 27 time_diff = difftime(time0 + 1, time0); in main() 29 if (time_diff != WAIT_DURATION) { in main()
|
/external/markdown/MarkdownTest/ |
D | MarkdownTest.pl | 91 my $time_diff = timediff($time_end, $time_start); 92 print "Benchmark: ", timestr($time_diff), "\n";
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 89 time_diff = datetime.datetime.now() - start_time 91 time_diff = _now - start_time 92 return time_diff <= datetime.timedelta(seconds=duration*60)
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | screenshare_layers.cc | 55 float time_diff = (timestamp - last_timestamp_) / 90.f; in GetSuperFrameSettings() local 64 0.f, bits_used_[layer_id] - time_diff * threshold_kbps_[layer_id]); in GetSuperFrameSettings()
|
/external/libdrm/tests/ttmtest/ |
D | ChangeLog | 15 * src/ttmtest.c: (fastrdtsc), (time_diff), (releaseContext),
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 811 time_diff(const struct timeval *t0, const struct timeval *t1) in time_diff() function 829 q->Result = time_diff(&xq->StartTime, &endTime); in xmesa_end_query()
|