Home
last modified time | relevance | path

Searched refs:tv_usec (Results 1 – 25 of 162) sorted by relevance

1234567

/hardware/ti/omap4xxx/camera/
DCameraHalCommon.cpp47 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec; in PPM()
74 elapsed += ppm.tv_usec - ppm_start.tv_usec; in PPM()
77 absolute += ppm.tv_usec /1000; in PPM()
107 absolute += ppm.tv_usec /1000; in PPM()
110 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_first->tv_usec; in PPM()
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
Dperf_common.h73 ((target).tv_sec = (source).tv_sec), ((target).tv_usec = (source).tv_usec)
74 #define TIME_MICROSECONDS(time) (time).tv_usec
78 ((time).tv_usec + (microsecs) % 1000000) / 1000000), \
79 ((time).tv_usec = ((time).tv_usec + (microsecs) % 1000000) % 1000000)
81 ((time).tv_sec = (sec)), ((time).tv_usec = (microsec))
/hardware/ril/libril/
Dril_event.cpp41 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
42 if ((vvp)->tv_usec >= 1000000) { \
44 (vvp)->tv_usec -= 1000000; \
52 ? (a)->tv_usec op (b)->tv_usec \
60 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
61 if ((res)->tv_usec < 0) { \
62 (res)->tv_usec += 1000000; \
86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event()
101 tv->tv_usec = ts.tv_nsec/1000; in getNow()
169 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
[all …]
/hardware/ti/omap3/dspbridge/libbridge/
Dperfutils.c56 if (tv_end->tv_usec < tv_beg->tv_usec) { in PrintStatistics()
57 tv_end->tv_usec += 1000000; in PrintStatistics()
62 (tv_end->tv_usec - tv_beg->tv_usec); in PrintStatistics()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dvpx_timer.h37 (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
38 if ((result)->tv_usec < 0) { \
40 (result)->tv_usec += 1000000; \
89 return diff.tv_sec * 1000000 + diff.tv_usec; in vpx_usec_timer_elapsed()
/hardware/bsp/intel/peripheral/libupm/src/ta12200/
Dta12200.cxx65 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
67 elapsed.tv_usec += 1000000; in getMillis()
75 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/wheelencoder/
Dwheelencoder.cxx61 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
63 elapsed.tv_usec += 1000000; in getMillis()
71 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/grovewfs/
Dgrovewfs.cxx72 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
74 elapsed.tv_usec += 1000000; in getMillis()
82 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/groveehr/
Dgroveehr.cxx68 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
70 elapsed.tv_usec += 1000000; in getMillis()
78 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/ti/omap4-aah/camera/
DCameraHalCommon.cpp48 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec; in PPM()
75 elapsed += ppm.tv_usec - ppm_start.tv_usec; in PPM()
78 absolute += ppm.tv_usec /1000; in PPM()
108 absolute += ppm.tv_usec /1000; in PPM()
111 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_first->tv_usec; in PPM()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dsync.h71 …if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 … in wait()
74 abstime.tv_nsec += now.tv_usec * 1000; in wait()
79 abstime.tv_nsec += now.tv_usec * 1000; in wait()
/hardware/bsp/intel/peripheral/libupm/src/uln200xa/
Duln200xa.cxx98 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
100 elapsed.tv_usec += 1000000; in getMillis()
108 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/grovemd/
Dgrovemd.cxx196 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
198 elapsed.tv_usec += 1000000; in getMillis()
206 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/qcom/gps/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8960/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8994/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8996/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8084/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8909/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp36 t.tv_sec = t.tv_usec = 0; in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/bsp/intel/peripheral/libupm/src/l298/
Dl298.cxx155 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
157 elapsed.tv_usec += 1000000; in getMillis()
165 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.c70 inter_period.tv_usec += 1000000 / fps; in psb_doframerate()
73 if (inter_period.tv_usec >= 1000000) { in psb_doframerate()
74 inter_period.tv_usec -= 1000000; in psb_doframerate()
80 time_deta.tv_usec = inter_period.tv_usec - time_deta.tv_usec; in psb_doframerate()
83 if (time_deta.tv_usec < 0) { in psb_doframerate()
84 time_deta.tv_usec += 1000000; in psb_doframerate()
88 if (time_deta.tv_sec < 0 || (time_deta.tv_sec == 0 && time_deta.tv_usec <= 0)) in psb_doframerate()
496 if ((inter_period.tv_sec == 0) && (inter_period.tv_usec == 0)) in psb_PutSurface()
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
Dadafruitms1438.cxx80 if( (elapsed.tv_usec = now.tv_usec - startTime.tv_usec) < 0 ) in getMillis()
82 elapsed.tv_usec += 1000000; in getMillis()
90 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx91 timeout.tv_usec = millis * 1000; in dataAvailable()
235 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
237 elapsed.tv_usec += 1000000; in getMillis()
245 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/hcsr04/
Dhcsr04.cxx105 m_FallingTimeStamp = 1000000 * timer.tv_sec + timer.tv_usec; in ackEdgeDetected()
108 m_RisingTimeStamp = 1000000 * timer.tv_sec + timer.tv_usec; in ackEdgeDetected()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvenc_util.c47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec); in GetTimeStamp()

1234567