Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 38) sorted by relevance

12

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dsync.h66 struct timeval now; in wait() local
68 gettimeofday(&now,NULL); in wait()
70 abstime.tv_sec += now.tv_sec; in wait()
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/ril/librilutils/
Dlibrilutils.c21 struct timespec now; in ril_nano_time() local
22 clock_gettime(CLOCK_MONOTONIC, &now); in ril_nano_time()
23 return now.tv_sec * 1000000000LL + now.tv_nsec; in ril_nano_time()
/hardware/ril/libril/
Dril_event.cpp163 struct timeval now; in processTimeouts() local
167 getNow(&now); in processTimeouts()
170 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
171 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts()
219 struct timeval now; in calcNextTimeout() local
221 getNow(&now); in calcNextTimeout()
229 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout()
232 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout()
233 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
298 struct timeval now; in ril_timer_add() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/
DCHANGES4 simulator now.
5 * New feature: Google Test now implements a protocol to allow
9 * New feature: Test::RecordProperty() can now be used outside of the
12 * New feature (potentially breaking): --gtest_list_tests now prints
14 * Improvement: char pointers and char arrays are now escaped properly
16 * Improvement: failure summary in XML reports now includes file and
18 * Improvement: the <testsuites> XML element now has a timestamp attribute.
19 * Improvement: When --gtest_filter is specified, XML report now doesn't
23 * Potentially breaking change: RUN_ALL_TESTS() is now implemented as a
35 the XML report now.
[all …]
/hardware/intel/img/hwcomposer/common/observers/
DSoftVsyncObserver.cpp126 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in threadLoop() local
128 nsecs_t sleep = next_vsync - now; in threadLoop()
131 sleep = (period - ((now - next_vsync) % period)); in threadLoop()
132 next_vsync = now + sleep; in threadLoop()
/hardware/qcom/gps/msm8960/utils/
Dloc_log.cpp171 struct timeval now; /* sec and usec */ in loc_get_time() local
175 gettimeofday(&now, NULL); in loc_get_time()
176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time()
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
/hardware/qcom/gps/utils/
Dloc_log.cpp171 struct timeval now; /* sec and usec */ in loc_get_time() local
175 gettimeofday(&now, NULL); in loc_get_time()
176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time()
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
/hardware/libhardware/modules/local_time/
Dlocal_time_hw.c37 uint64_t now; in ltdev_get_local_time() local
47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + in ltdev_get_local_time()
50 return (int64_t)now; in ltdev_get_local_time()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Drate_hist.c80 const int64_t now = pkt->data.frame.pts * 1000 * in update_rate_histogram() local
85 hist->pts[idx] = now; in update_rate_histogram()
88 if (now < cfg->rc_buf_initial_sz) in update_rate_histogram()
91 then = now; in update_rate_histogram()
98 if (now - then > cfg->rc_buf_sz) in update_rate_histogram()
103 if (now == then) in update_rate_histogram()
106 avg_bitrate = sum_sz * 8 * 1000 / (now - then); in update_rate_histogram()
DCHANGELOG118 Changing resolution with vpx_codec_enc_config_set() is now
128 Also, the vpxenc application will now use a keyframe interval of
247 artifacts, rolling back for now.
376 SSIM at the expense of PSNR. For now, this feature is available with
414 ivfenc and ivfdec tools. These tools are now called vpxenc and vpxdec.
421 * The default behavior is now to write output to a single file
464 vpxenc --psnr now shows the average/overall PSNR at the end
465 ARM platforms now support runtime cpu detection
467 vpxdec now silent by default
470 NASM is now a supported assembler
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Event.c171 struct timeval now; in Exynos_OSAL_SignalWait() local
182 gettimeofday(&now, NULL); in Exynos_OSAL_SignalWait()
184 tv_us = now.tv_usec + ms * 1000; in Exynos_OSAL_SignalWait()
185 timeout.tv_sec = now.tv_sec + tv_us / 1000000; in Exynos_OSAL_SignalWait()
/hardware/ti/omap4-aah/domx/mm_osal/src/
Dtimm_osal_events.c272 struct timeval now; in TIMM_OSAL_EventRetrieve() local
359 gettimeofday(&now, NULL); in TIMM_OSAL_EventRetrieve()
360 timeout_us = now.tv_usec + 1000 * uTimeOutMsec; in TIMM_OSAL_EventRetrieve()
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000; in TIMM_OSAL_EventRetrieve()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_events.c272 struct timeval now; in TIMM_OSAL_EventRetrieve() local
359 gettimeofday(&now, NULL); in TIMM_OSAL_EventRetrieve()
360 timeout_us = now.tv_usec + 1000 * uTimeOutMsec; in TIMM_OSAL_EventRetrieve()
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000; in TIMM_OSAL_EventRetrieve()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp436 nsecs_t now = systemTime(); in debugShowFPS() local
437 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
439 mLastFpsTime = now; in debugShowFPS()
454 nsecs_t now = systemTime(); in recalculateFPS() local
455 nsecs_t diff = now - mLastFPSTime; in recalculateFPS()
457 mLastFPSTime = now; in recalculateFPS()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c635 struct tm *now; in output_filename_datetimestamp() local
637 now = localtime(&t); in output_filename_datetimestamp()
641 now->tm_year - 100, now->tm_mon + 1, now->tm_mday, in output_filename_datetimestamp()
642 now->tm_hour, now->tm_min, now->tm_sec); in output_filename_datetimestamp()
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp317 nsecs_t now = systemTime(); in write() local
318 if ((uint32_t)ns2us(now - mLastWriteTime) < (mBufferDurationUs >> 2)) { in write()
320 usleep(mBufferDurationUs - (uint32_t)ns2us(now - mLastWriteTime)); in write()
322 mLastWriteTime = now; in write()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c638 unsigned long now; in parse_events() local
641 if ((now = inv_get_tick_count()) - last_pedometer_poll in parse_events()
644 last_pedometer_poll = now; in parse_events()
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp855 nsecs_t now = systemTime(); in debugShowFPS() local
856 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
858 mLastFpsTime = now; in debugShowFPS()
873 nsecs_t now = systemTime(); in recalculateFPS() local
874 nsecs_t diff = now - mLastFPSTime; in recalculateFPS()
876 mLastFPSTime = now; in recalculateFPS()
/hardware/ti/omap4-aah/security/tee_client_api/
Dtee_client_api_linux_driver.c343 struct timeval now; in scxGetCurrentTime() local
345 gettimeofday(&now,NULL); in scxGetCurrentTime()
346 currentTime = now.tv_sec; in scxGetCurrentTime()
347 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); in scxGetCurrentTime()
/hardware/ti/omap4xxx/security/tee_client_api/
Dtee_client_api_linux_driver.c335 struct timeval now; in scxGetCurrentTime() local
337 gettimeofday(&now,NULL); in scxGetCurrentTime()
338 currentTime = now.tv_sec; in scxGetCurrentTime()
339 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); in scxGetCurrentTime()
/hardware/ti/omap4-aah/hwc/
Dhwc.c255 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in showfps() local
256 nsecs_t diff = now - lastfpstime; in showfps()
258 lastfpstime = now; in showfps()
542 uint64_t now = 0; in vsync_clock_now() local
546 now = ((uint64_t)ts.tv_sec) * 1000000000ull + ts.tv_nsec; in vsync_clock_now()
548 return now; in vsync_clock_now()
2510 uint64_t now = vsync_clock_now(); in omap4_hwc_hdmi_thread() local
2515 idle_wakeup = now + (((uint64_t)timeout) * 1000000); in omap4_hwc_hdmi_thread()
2523 : now; in omap4_hwc_hdmi_thread()
2527 if (vsync_wakeup < now) in omap4_hwc_hdmi_thread()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c404 unsigned long now; in handle_pedometer() local
412 if ((now = inv_get_tick_count()) - last_pedometer_poll in handle_pedometer()
416 last_pedometer_poll = now; in handle_pedometer()
/hardware/intel/img/psb_video/src/
Dpsb_cmdbuf.c399 psbTimeDiff(struct timeval *now, struct timeval *then) in psbTimeDiff() argument
403 val = now->tv_sec - then->tv_sec; in psbTimeDiff()
405 val += now->tv_usec; in psbTimeDiff()
434 struct timeval then, now; in psbDRMCmdBuf() local
506 if (gettimeofday(&now, NULL)) { in psbDRMCmdBuf()
512 } while ((ret == EAGAIN) && (psbTimeDiff(&now, &then) < PSB_TIMEOUT_USEC)); in psbDRMCmdBuf()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
Dfastquantizeb_neon.asm112 vtst.16 q14, q4, q8 ; now find eob
124 vtst.16 q2, q10, q8 ; now find eob
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp58 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; in loc_eng_nmea_send() local
60 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send()

12