/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioclock.c | 71 clock->last_time = 0; in gst_audio_clock_init() 134 if (clock->last_time >= time) in gst_audio_clock_reset() 135 time_offset = clock->last_time - time; in gst_audio_clock_reset() 137 time_offset = -(time - clock->last_time); in gst_audio_clock_reset() 144 GST_TIME_ARGS (clock->last_time), GST_STIME_ARGS (time_offset)); in gst_audio_clock_reset() 163 result = aclock->last_time; in gst_audio_clock_get_internal_time() 167 if (aclock->last_time < result) in gst_audio_clock_get_internal_time() 168 aclock->last_time = result; in gst_audio_clock_get_internal_time() 170 result = aclock->last_time; in gst_audio_clock_get_internal_time() 175 GST_TIME_ARGS (result), GST_TIME_ARGS (aclock->last_time)); in gst_audio_clock_get_internal_time() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_fps.c | 38 uint64_t last_time; member 49 if (info->last_time) { in query_fps() 51 double frametime = ((double)now - (double)info->last_time) / 1000.0; in query_fps() 53 info->last_time = now; in query_fps() 55 else if (info->last_time + gr->pane->period <= now) { in query_fps() 57 (double)(now - info->last_time); in query_fps() 59 info->last_time = now; in query_fps() 65 info->last_time = now; in query_fps()
|
D | hud_cpu.c | 227 uint64_t last_cpu_busy, last_cpu_total, last_time; member 236 if (info->last_time) { in query_cpu_load() 237 if (info->last_time + gr->pane->period <= now) { in query_cpu_load() 249 info->last_time = now; in query_cpu_load() 254 info->last_time = now; in query_cpu_load() 321 int64_t last_time; member 331 if (info->last_time) { in query_api_thread_busy_status() 332 if (info->last_time + gr->pane->period*1000 <= now) { in query_api_thread_busy_status() 347 (now - info->last_time); in query_api_thread_busy_status() 358 info->last_time = now; in query_api_thread_busy_status() [all …]
|
D | hud_cpufreq.c | 60 uint64_t last_time; member 99 if (cfi->last_time) { in query_cfi_load() 100 if (cfi->last_time + gr->pane->period <= now) { in query_cfi_load() 108 cfi->last_time = now; in query_cfi_load() 113 cfi->last_time = now; in query_cfi_load()
|
D | hud_driver_query.c | 210 uint64_t last_time; member 235 if (info->last_time) { in query_new_value_normal() 315 if (!info->last_time) { in query_new_value() 316 info->last_time = now; in query_new_value() 320 if (info->num_results && info->last_time + gr->pane->period <= now) { in query_new_value() 339 info->last_time = now; in query_new_value() 350 if (!info->batch && info->last_time) { in free_query_info()
|
D | hud_diskstat.c | 76 uint64_t last_time; member 129 if (dsi->last_time) { in query_dsi_load() 130 if (dsi->last_time + gr->pane->period <= now) { in query_dsi_load() 153 dsi->last_time = now; in query_dsi_load() 164 dsi->last_time = now; in query_dsi_load()
|
D | hud_sensors_temp.c | 66 uint64_t last_time; member 166 if (sti->last_time) { in query_sti_load() 167 if (sti->last_time + gr->pane->period <= now) { in query_sti_load() 188 sti->last_time = now; in query_sti_load() 194 sti->last_time = now; in query_sti_load()
|
D | hud_nic.c | 62 uint64_t last_time; member 184 if (nic->last_time) { in query_nic_load() 185 if (nic->last_time + gr->pane->period <= now) { in query_nic_load() 222 nic->last_time = now; in query_nic_load() 236 nic->last_time = now; in query_nic_load()
|
/third_party/glib/glib/tests/ |
D | timeout.c | 143 static gint64 last_time; variable 159 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 2500); in test_func() 161 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 1500); in test_func() 163 last_time = current_time; in test_func() 184 last_time = g_get_monotonic_time (); in test_rounding()
|
/third_party/flutter/glfw/tests/ |
D | tearing.c | 121 double last_time, current_time; in main() local 177 last_time = glfwGetTime(); in main() 202 if (current_time - last_time > 1.0) in main() 204 frame_rate = frame_count / (current_time - last_time); in main() 206 last_time = current_time; in main()
|
/third_party/jerryscript/targets/mbedos5/source/ |
D | jerry_port_mbed.c | 68 static time_t last_time = 0; in jerry_port_get_current_time() local 82 if (curr_time - last_time > (time_t) (((uint32_t) - 1) / 1000000)) { in jerry_port_get_current_time() 90 last_time = curr_time; in jerry_port_get_current_time()
|
/third_party/pulseaudio/src/daemon/ |
D | cpulimit.c | 68 static pa_usec_t last_time = 0; variable 125 elapsed = now - last_time; in signal_handler() 146 last_time = now; in signal_handler() 183 last_time = pa_rtclock_now(); in pa_cpu_limit_init()
|
/third_party/openssl/ssl/ |
D | bio_ssl.c | 33 unsigned long last_time; member 123 if (tm > sb->last_time + sb->renegotiate_timeout) { in ssl_read() 124 sb->last_time = tm; in ssl_read() 192 if (tm > bs->last_time + bs->renegotiate_timeout) { in ssl_write() 193 bs->last_time = tm; in ssl_write() 271 bs->last_time = (unsigned long)time(NULL); in ssl_ctrl() 377 dbs->last_time = bs->last_time; in ssl_ctrl()
|
/third_party/gstreamer/gstplugins_good/gst/debugutils/ |
D | cpureport.c | 117 time_taken = cur_time - filter->last_time; in gst_cpu_report_transform_ip() 125 filter->last_time = cur_time; in gst_cpu_report_transform_ip() 139 filter->start_time = filter->last_time = g_get_real_time () * GST_USECOND; in gst_cpu_report_start()
|
/third_party/libcoap/examples/lwip/ |
D | server-coap.c | 134 static coap_time_t last_time = 0; in server_coap_poll() local 141 if (last_time != time_now) { in server_coap_poll() 143 last_time = time_now; in server_coap_poll()
|
/third_party/ffmpeg/libavformat/ |
D | sapenc.c | 39 int64_t last_time; member 57 if (sap->last_time && sap->ann && sap->ann_fd) { in sap_write_close() 259 if (!sap->last_time || now - sap->last_time > 5000000) { in sap_write_packet() 264 sap->last_time = now; in sap_write_packet()
|
D | dhav.c | 51 int64_t last_time; member 312 if (dst->last_time == t) { in get_pts() 322 dst->last_time = t; in get_pts() 365 dst->last_time = AV_NOPTS_VALUE; in dhav_read_packet() 396 dst->last_time = AV_NOPTS_VALUE; in dhav_read_packet() 447 dst->last_time = AV_NOPTS_VALUE; in dhav_read_seek()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 119 int64_t cur_time, last_time = os_time_get(); in r600_gpu_load_thread() local 129 if (os_time_timeout(last_time, last_time + period_us, in r600_gpu_load_thread() 136 last_time = cur_time; in r600_gpu_load_thread()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_gpu_load.c | 135 int64_t cur_time, last_time = os_time_get(); in si_gpu_load_thread() local 145 if (os_time_timeout(last_time, last_time + period_us, cur_time)) in si_gpu_load_thread() 151 last_time = cur_time; in si_gpu_load_thread()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtprtxreceive.c | 395 if (!GST_CLOCK_TIME_IS_VALID (rtx->last_time) || in gst_rtp_rtx_receive_src_event() 397 assoc->time + ASSOC_TIMEOUT < rtx->last_time) { in gst_rtp_rtx_receive_src_event() 427 ssrc_assoc_new (ssrc, rtx->last_time)); in gst_rtp_rtx_receive_src_event() 558 rtx->last_time = GST_BUFFER_PTS (buffer); in gst_rtp_rtx_receive_chain() 569 if (GST_CLOCK_TIME_IS_VALID (rtx->last_time) && in gst_rtp_rtx_receive_chain() 571 assoc->time + ASSOC_TIMEOUT < rtx->last_time) { in gst_rtp_rtx_receive_chain()
|
/third_party/libinput/tools/ |
D | libinput-analyze-per-slot-delta.py | 187 last_time = None 284 if last_time is None: 285 last_time = e.sec * 1000000 + e.usec 289 tdelta = int((t - last_time) / 1000) # ms 290 last_time = t
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/generic/cube/ |
D | main.cpp | 83 static GstClockTime last_time = gst_util_get_timestamp(); in drawCallback() local 104 if ((current_time - last_time) >= GST_SECOND) in drawCallback() 108 last_time = current_time; in drawCallback()
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/generic/recordgraphic/ |
D | main.cpp | 74 static GstClockTime last_time = gst_util_get_timestamp(); in drawCallback() local 80 if ((current_time - last_time) >= GST_SECOND) in drawCallback() 84 last_time = current_time; in drawCallback()
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/generic/cubeyuv/ |
D | main.cpp | 104 static GstClockTime last_time = gst_util_get_timestamp(); in drawCallback() local 125 if ((current_time - last_time) >= GST_SECOND) in drawCallback() 129 last_time = current_time; in drawCallback()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 293 static uint64_t last_time; in resample() local 296 if ((current_time - last_time) < (REFRESH_MS * 1000 / 2)) in resample() 299 last_time = current_time; in resample() 637 uint32_t last_time = gettime_us(); in main_ui() local 687 if (delta(last_time, t) > 500000) { in main_ui() 690 last_time = t; in main_ui()
|