/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { 40 if (ts_start.tv_sec == ts_end.tv_sec) { 41 return (int64_t)ts_end.tv_nsec - ts_start.tv_nsec; 43 return (int64_t)(ts_end.tv_sec - 1 - ts_start.tv_sec) * NS_PER_S + 44 ts_end.tv_nsec + NS_PER_S - ts_start.tv_nsec; 61 timespec ts_end; local 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 66 ASSERT_GE(time_diff(ts, ts_end), 0); 67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS);
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { 40 if (ts_start.tv_sec == ts_end.tv_sec) { 41 return (int64_t)ts_end.tv_nsec - ts_start.tv_nsec; 43 return (int64_t)(ts_end.tv_sec - 1 - ts_start.tv_sec) * NS_PER_S + 44 ts_end.tv_nsec + NS_PER_S - ts_start.tv_nsec; 61 timespec ts_end; local 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 66 ASSERT_GE(time_diff(ts, ts_end), 0); 67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS);
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { 40 if (ts_start.tv_sec == ts_end.tv_sec) { 41 return (int64_t)ts_end.tv_nsec - ts_start.tv_nsec; 43 return (int64_t)(ts_end.tv_sec - 1 - ts_start.tv_sec) * NS_PER_S + 44 ts_end.tv_nsec + NS_PER_S - ts_start.tv_nsec; 61 timespec ts_end; local 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 66 ASSERT_GE(time_diff(ts, ts_end), 0); 67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
mmap_bench.c | 19 struct timespec ts_start, ts_end; local 31 clock_gettime(CLOCK_MONOTONIC, &ts_end); 33 printf("time = %.6f\n", ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e9);
|
futex_bench.c | 22 struct timespec ts_start, ts_end; local 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); 34 printf("time = %.6f\n", ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e9);
|
/external/libvpx/libvpx/vp8/encoder/ |
lookahead.h | 22 int64_t ts_end; member in struct:lookahead_entry 55 * \param[in] ts_end Timestamp for the end of this frame 60 int64_t ts_start, int64_t ts_end, unsigned int flags,
|
lookahead.c | 92 int64_t ts_start, int64_t ts_end, unsigned int flags, 142 buf->ts_end = ts_end;
|
onyx_if.c | [all...] |
firstpass.c | 797 fps.duration = (double)(cpi->source->ts_end - cpi->source->ts_start); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
10-1.c | 41 struct timespec ts_start, ts_end; 92 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts_end) != 0) { 97 if (abs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { 104 (int)ts_end.tv_sec, (int)ts_start.tv_sec,
|
11-1.c | 41 struct timespec ts_start, ts_end; 92 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_end) != 0) { 97 if (abs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { 104 (int)ts_end.tv_sec, (int)ts_start.tv_sec,
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_lookahead.h | 31 int64_t ts_end; member in struct:lookahead_entry 75 * \param[in] ts_end Timestamp for the end of this frame 80 int64_t ts_start, int64_t ts_end,
|
vp9_lookahead.c | 86 int64_t ts_start, int64_t ts_end, 185 buf->ts_end = ts_end;
|
vp9_svc_layercontext.c | 766 cpi->svc.empty_frame.ts_end = buf->ts_end; [all...] |
vp9_encoder.c | [all...] |
vp9_firstpass.c | [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
strace_profiler.py | 94 ts_end = ts_begin + int(1000000 * float(m.group('dur'))) 131 'ts': ts_end,
|
/external/ltp/testcases/realtime/include/ |
librttest.h | 282 * ts_end > ts_start 285 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, struct timespec *ts_delta);
|
/external/ltp/testcases/realtime/lib/ |
librttest.c | 413 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, 416 if (ts_end == NULL || ts_start == NULL || ts_delta == NULL) { 422 ts_delta->tv_sec = ts_end->tv_sec - ts_start->tv_sec; 423 ts_delta->tv_nsec = ts_end->tv_nsec - ts_start->tv_nsec;
|