Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 25 of 167) sorted by relevance

1234567

/hardware/ti/omap4xxx/camera/
DCameraHalCommon.cpp45 ppm.tv_sec = ppm.tv_sec - ppm_start.tv_sec; in PPM()
46 ppm.tv_sec = ppm.tv_sec * 1000000; in PPM()
47 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec; in PPM()
49 ALOGD("PPM: %s :%ld.%ld ms", str, ( ppm.tv_sec /1000 ), ( ppm.tv_sec % 1000 )); in PPM()
72 elapsed = ppm.tv_sec - ppm_start.tv_sec; in PPM()
75 absolute = ppm.tv_sec; in PPM()
105 absolute = ppm.tv_sec; in PPM()
108 ppm.tv_sec = ppm.tv_sec - ppm_first->tv_sec; in PPM()
109 ppm.tv_sec = ppm.tv_sec * 1000000; in PPM()
110 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_first->tv_usec; in PPM()
[all …]
/hardware/ti/omap4-aah/camera/
DCameraHalCommon.cpp46 ppm.tv_sec = ppm.tv_sec - ppm_start.tv_sec; in PPM()
47 ppm.tv_sec = ppm.tv_sec * 1000000; in PPM()
48 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec; in PPM()
50 CAMHAL_LOGI("PPM: %s :%ld.%ld ms", str, ( ppm.tv_sec /1000 ), ( ppm.tv_sec % 1000 )); in PPM()
73 elapsed = ppm.tv_sec - ppm_start.tv_sec; in PPM()
76 absolute = ppm.tv_sec; in PPM()
106 absolute = ppm.tv_sec; in PPM()
109 ppm.tv_sec = ppm.tv_sec - ppm_first->tv_sec; in PPM()
110 ppm.tv_sec = ppm.tv_sec * 1000000; in PPM()
111 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_first->tv_usec; in PPM()
[all …]
/hardware/ril/libril/
Dril_event.cpp40 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
43 (vvp)->tv_sec++; \
51 ((a)->tv_sec == (b)->tv_sec \
53 : (a)->tv_sec op (b)->tv_sec)
59 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
63 (res)->tv_sec -= 1; \
86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event()
101 tv->tv_sec = ts.tv_sec; in getNow()
170 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
229 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout()
[all …]
/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)
75 #define TIME_SECONDS(time) (time).tv_sec
77 ((time).tv_sec += ((microsecs) / 1000000) + \
81 ((time).tv_sec = (sec)), ((time).tv_usec = (microsec))
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dvpx_timer.h36 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
39 --(result)->tv_sec; \
89 return diff.tv_sec * 1000000 + diff.tv_usec; in vpx_usec_timer_elapsed()
/hardware/ti/omap3/dspbridge/libbridge/
Dperfutils.c58 tv_end->tv_sec -= 1; in PrintStatistics()
61 totalTimeuSec = (tv_end->tv_sec - tv_beg->tv_sec) * 1000000 + in PrintStatistics()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dsync.h70 abstime.tv_sec += now.tv_sec; in wait()
73 abstime.tv_sec += 1; in wait()
/hardware/qcom/gps/msm8960/utils/
Dloc_log.cpp176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time()
228 hh = tv.tv_sec/3600%24; in get_timestamp()
229 mm = (tv.tv_sec%3600)/60; in get_timestamp()
230 ss = tv.tv_sec%60; in get_timestamp()
Dloc_timer.c76 ts.tv_sec += t.time_msec/1000; in timer_thread()
83 ts.tv_sec += 1; in timer_thread()
87 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec); in timer_thread()
89 __func__, __LINE__, (int)tv.tv_sec, (int)tv.tv_usec*1000); in timer_thread()
/hardware/qcom/gps/utils/
Dloc_log.cpp176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time()
234 hh = tv.tv_sec/3600%24; in get_timestamp()
235 mm = (tv.tv_sec%3600)/60; in get_timestamp()
236 ss = tv.tv_sec%60; in get_timestamp()
Dloc_timer.c65 ts.tv_sec += t->time_msec/1000; in timer_thread()
72 ts.tv_sec += 1; in timer_thread()
77 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec, in timer_thread()
78 (int)tv.tv_sec, (int)tv.tv_usec*1000); in timer_thread()
/hardware/qcom/gps/platform_lib_abstractions/
Dplatform_lib_macros.h40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
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/
Dplatform_lib_macros.h40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
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/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/
DOMX_JpegDec_Utils.h166 ts.tv_sec = sTime.tv_sec; \
167 ts.tv_sec += JPEGDEC_TIMEOUT; \
193 ts.tv_sec = sTime.tv_sec; \
194 ts.tv_sec += JPEGDEC_TIMEOUT; \
220 ts.tv_sec = sTime.tv_sec; \
221 ts.tv_sec += JPEGDEC_TIMEOUT; \
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DConnection.cpp120 tv.tv_sec = timeout / 1000; in readData()
121 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000; in readData()
189 tv.tv_sec = timeout / 1000; in waitData()
190 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000; in waitData()
/hardware/ti/omap4xxx/libtiutils/
DSemaphore.cpp211 timeSpec.tv_sec = currentTime.tv_sec; in WaitTimeout()
213 timeSpec.tv_sec += ( timeoutMicroSecs / 1000000 ); in WaitTimeout()
/hardware/ti/omap4-aah/libtiutils/
DSemaphore.cpp212 timeSpec.tv_sec = currentTime.tv_sec; in WaitTimeout()
214 timeSpec.tv_sec += ( timeoutMicroSecs / 1000000 ); in WaitTimeout()
/hardware/invensense/60xx/libsensors_iio/
DMPLSupport.cpp33 t.tv_sec = t.tv_nsec = 0; in getTimestamp()
35 return int64_t(t.tv_sec) * 1000000000LL + t.tv_nsec; in getTimestamp()
39 return t.tv_sec * 1000000000LL + t.tv_usec * 1000; in timevalToNano()
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.c75 inter_period.tv_sec++; in psb_doframerate()
81 time_deta.tv_sec = inter_period.tv_sec - time_deta.tv_sec; in psb_doframerate()
85 time_deta.tv_sec--; 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/libhardware_legacy/power/
Dpower.c57 t.tv_sec = t.tv_nsec = 0; in systemTime()
59 return t.tv_sec*1000000000LL + t.tv_nsec; in systemTime()
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Measure.c166 endL = (end->tv_sec * 1000000000) + end->tv_nsec; in AKFS_CalcSleep()
167 startL = (start->tv_sec * 1000000000) + start->tv_nsec; in AKFS_CalcSleep()
179 ret.tv_sec = diff / 1000000000; in AKFS_CalcSleep()
182 ret.tv_sec = 0; in AKFS_CalcSleep()
/hardware/invensense/60xx/libsensors/
DSensorBase.cpp86 t.tv_sec = t.tv_nsec = 0; in getTimestamp()
88 return int64_t(t.tv_sec)*1000000000LL + t.tv_nsec; in getTimestamp()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_mutex.c189 abs_timeout.tv_sec = ltime_now.tv_sec + uTimeOut / 1000;

1234567