Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 15 of 15) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/ta12200/
Dta12200.cxx58 struct timeval elapsed, now; in getMillis() local
65 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
67 elapsed.tv_usec += 1000000; in getMillis()
68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
72 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
75 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/wheelencoder/
Dwheelencoder.cxx54 struct timeval elapsed, now; in getMillis() local
61 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
63 elapsed.tv_usec += 1000000; in getMillis()
64 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
71 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/grovewfs/
Dgrovewfs.cxx65 struct timeval elapsed, now; in getMillis() local
72 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
74 elapsed.tv_usec += 1000000; in getMillis()
75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
79 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
82 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/groveehr/
Dgroveehr.cxx61 struct timeval elapsed, now; in getMillis() local
68 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
70 elapsed.tv_usec += 1000000; in getMillis()
71 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
78 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/ti/omap4xxx/camera/
DCameraHalCommon.cpp70 unsigned long long elapsed, absolute; in PPM() local
72 elapsed = ppm.tv_sec - ppm_start.tv_sec; in PPM()
73 elapsed *= 1000000; in PPM()
74 elapsed += ppm.tv_usec - ppm_start.tv_usec; in PPM()
79 ALOGD("PPM: %s :%llu.%llu ms : %llu ms", str, ( elapsed /1000 ), ( elapsed % 1000 ), absolute); in PPM()
/hardware/bsp/intel/peripheral/libupm/src/uln200xa/
Duln200xa.cxx91 struct timeval elapsed, now; in getMillis() local
98 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
100 elapsed.tv_usec += 1000000; in getMillis()
101 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
105 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
108 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/grovemd/
Dgrovemd.cxx189 struct timeval elapsed, now; in getMillis() local
196 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
198 elapsed.tv_usec += 1000000; in getMillis()
199 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
203 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
206 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/l298/
Dl298.cxx148 struct timeval elapsed, now; in getMillis() local
155 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
157 elapsed.tv_usec += 1000000; in getMillis()
158 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
162 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
165 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/ti/omap4-aah/camera/
DCameraHalCommon.cpp71 unsigned long long elapsed, absolute; in PPM() local
73 elapsed = ppm.tv_sec - ppm_start.tv_sec; in PPM()
74 elapsed *= 1000000; in PPM()
75 elapsed += ppm.tv_usec - ppm_start.tv_usec; in PPM()
80 …CAMHAL_LOGI("PPM: %s :%llu.%llu ms : %llu ms", str, ( elapsed /1000 ), ( elapsed % 1000 ), absolut… in PPM()
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
Dadafruitms1438.cxx71 struct timeval elapsed, now; in getMillis() local
80 if( (elapsed.tv_usec = now.tv_usec - startTime.tv_usec) < 0 ) in getMillis()
82 elapsed.tv_usec += 1000000; in getMillis()
83 elapsed.tv_sec = now.tv_sec - startTime.tv_sec - 1; in getMillis()
87 elapsed.tv_sec = now.tv_sec - startTime.tv_sec; in getMillis()
90 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx228 struct timeval elapsed, now; in getMillis() local
235 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
237 elapsed.tv_usec += 1000000; in getMillis()
238 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
242 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
245 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/bsp/intel/peripheral/libupm/src/sm130/
Dsm130.cxx813 struct timeval elapsed, now; in getMillis() local
820 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis()
822 elapsed.tv_usec += 1000000; in getMillis()
823 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis()
827 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
830 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000)); in getMillis()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/
DCHANGES91 * New feature: elapsed time for the tests is printed by default.
143 * New feature: printing elapsed time of tests.
/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c1511 gulong elapsed = 0; in mix_audio_SST_writev() local
1512 g_timer_elapsed(timer, &elapsed); in mix_audio_SST_writev()
1515 if ((MIX_ACP_BITRATE(mix->audioconfigparams) > 0) && (wait_time > elapsed)) in mix_audio_SST_writev()
1517 wait_time -= elapsed; in mix_audio_SST_writev()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h17974 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; }