/openbmc/qemu/system/ |
H A D | rtc.c | 51 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 D | adb.c | 143 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 D | dirtyrate.c | 55 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 D | cpu-throttle.c | 159 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 D | migration.c | 115 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 D | colo.c | 71 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 D | colo.c | 171 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 D | announce.c | 31 timer_mod(timer->tm, qemu_clock_get_ms(timer->type) + step); in qemu_announce_timer_step()
|
H A D | colo-compare.c | 602 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 D | icount-common.c | 212 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 D | gpio_key.c | 75 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + GPIO_KEY_LATENCY); in gpio_key_set_irq()
|
/openbmc/qemu/hw/m68k/ |
H A D | q800-glue.c | 168 timer_mod(s->nmi_release, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 100); in glue_nmi()
|
/openbmc/qemu/hw/rtc/ |
H A D | ls7a_rtc.c | 145 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 D | u2f-passthru.c | 131 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 D | platform.c | 176 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 D | xen-hvm-common.c | 214 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 D | i82596.c | 334 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 D | e1000x_common.c | 166 timer_mod(timer, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 500); in e1000x_restart_autoneg()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-rng.c | 106 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + vrng->conf.period_ms); in virtio_rng_process()
|
/openbmc/qemu/hw/watchdog/ |
H A D | spapr_watchdog.c | 167 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + timeoutInMs); in h_watchdog()
|
/openbmc/qemu/ui/ |
H A D | input.c | 250 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 D | console.c | 104 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 D | virtio-gpu-virgl.c | 1059 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 D | timer.h | 116 static inline int64_t qemu_clock_get_ms(QEMUClockType type) in qemu_clock_get_ms() function
|
/openbmc/qemu/block/ |
H A D | iscsi.c | 270 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()
|