Searched refs:time_diff (Results 1 – 2 of 2) sorted by relevance
39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { in time_diff() function66 ASSERT_GE(time_diff(ts, ts_end), 0); in TEST()67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS); in TEST()
533 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local535 if (time_diff >= 5000000) { in async_venc_message_thread()538 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()