Home
last modified time | relevance | path

Searched refs:qemu_clock_get_ms (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/qemu/system/
H A Drtc.c51 time_t value = qemu_clock_get_ms(clock) / 1000; in qemu_ref_timedate()
146 rtc_ref_start_datetime = qemu_clock_get_ms(QEMU_CLOCK_HOST) / 1000; in configure_rtc()
147 rtc_realtime_clock_offset = qemu_clock_get_ms(QEMU_CLOCK_REALTIME) / 1000; in configure_rtc()
/openbmc/qemu/hw/input/
H A Dadb.c143 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in adb_set_autopoll_enabled()
157 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in adb_set_autopoll_rate_ms()
168 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in adb_set_autopoll_mask()
193 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in adb_autopoll_unblock()
209 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in adb_autopoll()
/openbmc/qemu/migration/
H A Ddirtyrate.c55 current_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in dirty_stat_wait()
61 msec = qemu_clock_get_ms(QEMU_CLOCK_REALTIME) - initial_time; in dirty_stat_wait()
161 init_time_ms = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in vcpu_calculate_dirtyrate()
303 DirtyStat.start_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) / 1000; in init_dirtyrate_stat()
644 start_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in calculate_dirtyrate_dirty_bitmap()
645 DirtyStat.start_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) / 1000; in calculate_dirtyrate_dirty_bitmap()
671 DirtyStat.start_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) / 1000; in calculate_dirtyrate_dirty_ring()
696 initial_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in calculate_dirtyrate_sample_vm()
697 DirtyStat.start_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) / 1000; in calculate_dirtyrate_sample_vm()
H A Dcpu-throttle.c159 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL_RT) + in cpu_throttle_dirty_sync_timer_tick()
180 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL_RT) + in cpu_throttle_dirty_sync_timer()
H A Dmigration.c115 s->downtime_start = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in migration_downtime_start()
120 int64_t now = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in migration_downtime_end()
1158 info->total_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME) - in populate_time_info()
1697 s->start_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in migrate_init()
3098 int64_t end_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in migration_completion_end()
3125 s->iteration_start_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in update_iteration_initial_status()
3358 int64_t now = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in migration_rate_limit()
3436 int64_t setup_start = qemu_clock_get_ms(QEMU_CLOCK_HOST); in migration_thread()
3507 s->setup_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) - setup_start; in migration_thread()
3587 setup_start = qemu_clock_get_ms(QEMU_CLOCK_HOST); in bg_migration_thread()
[all …]
H A Dcolo.c71 s->colo_checkpoint_time = qemu_clock_get_ms(QEMU_CLOCK_HOST); in colo_checkpoint_notify()
575 timer_mod(s->colo_delay_timer, qemu_clock_get_ms(QEMU_CLOCK_HOST) + in colo_process_checkpoint()
/openbmc/qemu/net/
H A Dcolo.c171 pkt->creation_ms = qemu_clock_get_ms(QEMU_CLOCK_HOST); in packet_new()
187 pkt->creation_ms = qemu_clock_get_ms(QEMU_CLOCK_HOST); in packet_new_nocopy()
H A Dannounce.c31 timer_mod(timer->tm, qemu_clock_get_ms(timer->type) + step); in qemu_announce_timer_step()
H A Dcolo-compare.c602 int64_t now = qemu_clock_get_ms(QEMU_CLOCK_HOST); in colo_old_packet_check_one()
897 timer_mod(s->packet_check_timer, qemu_clock_get_ms(QEMU_CLOCK_HOST) + in check_old_packet_regular()
934 timer_mod(s->packet_check_timer, qemu_clock_get_ms(QEMU_CLOCK_HOST) + in colo_compare_timer_init()
/openbmc/qemu/accel/tcg/
H A Dicount-common.c212 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL_RT) + 1000); in icount_adjust_rt()
484 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL_RT) + 1000); in icount_configure()
/openbmc/qemu/hw/gpio/
H A Dgpio_key.c75 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + GPIO_KEY_LATENCY); in gpio_key_set_irq()
/openbmc/qemu/hw/m68k/
H A Dq800-glue.c168 timer_mod(s->nmi_release, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 100); in glue_nmi()
/openbmc/qemu/hw/rtc/
H A Dls7a_rtc.c145 now = qemu_clock_get_ms(rtc_clock); in toymatch_write()
191 now = qemu_clock_get_ms(rtc_clock); in ls7a_toy_start()
/openbmc/qemu/hw/usb/
H A Du2f-passthru.c131 int64_t time = qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL); in u2f_timeout_check()
249 time = qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL); in u2f_transaction_start()
/openbmc/qemu/hw/vfio/
H A Dplatform.c176 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in vfio_intp_mmap_enable()
265 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + in vfio_intp_interrupt()
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c214 BUFFER_IO_MAX_DELAY + qemu_clock_get_ms(QEMU_CLOCK_REALTIME)); in cpu_get_ioreq()
553 qemu_clock_get_ms(QEMU_CLOCK_REALTIME)); in handle_buffered_io()
559 BUFFER_IO_MAX_DELAY + qemu_clock_get_ms(QEMU_CLOCK_REALTIME)); in handle_buffered_io()
/openbmc/qemu/hw/net/
H A Di82596.c334 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 1000); in i82596_flush_queue_timer()
373 timer_mod(s->flush_queue_timer, qemu_clock_get_ms( in examine_scb()
H A De1000x_common.c166 timer_mod(timer, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 500); in e1000x_restart_autoneg()
/openbmc/qemu/hw/virtio/
H A Dvirtio-rng.c106 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + vrng->conf.period_ms); in virtio_rng_process()
/openbmc/qemu/hw/watchdog/
H A Dspapr_watchdog.c167 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + timeoutInMs); in h_watchdog()
/openbmc/qemu/ui/
H A Dinput.c250 timer_mod(item->timer, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) in qemu_input_queue_process()
280 timer_mod(item->timer, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) in qemu_input_queue_delay()
H A Dconsole.c104 ds->last_update = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in gui_update()
121 timer_mod(ds->gui_timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME)); in gui_setup_refresh()
192 timeout = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); in graphic_hw_gl_block()
771 qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + (delay ? 1000 : 0)); in dpy_set_ui_info()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-virgl.c1059 timer_mod(gl->print_stats, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 1000); in virtio_gpu_print_stats()
1070 timer_mod(gl->fence_poll, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 10); in virtio_gpu_fence_poll()
1130 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 1000); in virtio_gpu_virgl_init()
/openbmc/qemu/include/qemu/
H A Dtimer.h116 static inline int64_t qemu_clock_get_ms(QEMUClockType type) in qemu_clock_get_ms() function
/openbmc/qemu/block/
H A Discsi.c270 qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + retry_time); in iscsi_co_generic_cb()
395 qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + EVENT_INTERVAL); in iscsi_timed_check_events()
1426 timer_mod(iscsilun->nop_timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + NOP_INTERVAL); in iscsi_nop_timed_event()
1569 qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + NOP_INTERVAL); in iscsi_attach_aio_context()
1577 qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + EVENT_INTERVAL); in iscsi_attach_aio_context()

123