/hardware/ti/omap4xxx/camera/ |
D | CameraHalCommon.cpp | 47 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/ |
D | perf_common.h | 73 ((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/ |
D | ril_event.cpp | 41 (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/ |
D | perfutils.c | 56 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/ |
D | vpx_timer.h | 37 (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/ |
D | ta12200.cxx | 65 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/ |
D | wheelencoder.cxx | 61 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/ |
D | grovewfs.cxx | 72 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/ |
D | groveehr.cxx | 68 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/ |
D | CameraHalCommon.cpp | 48 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/ |
D | sync.h | 71 …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/ |
D | uln200xa.cxx | 98 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/ |
D | grovemd.cxx | 196 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | elapsed_millis_since_boot.cpp | 36 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/ |
D | l298.cxx | 155 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/ |
D | psb_x11.c | 70 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/ |
D | adafruitms1438.cxx | 80 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/ |
D | zfm20.cxx | 91 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/ |
D | hcsr04.cxx | 105 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/ |
D | venc_util.c | 47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec); in GetTimeStamp()
|