/openbmc/qemu/monitor/ |
H A D | monitor.c | 310 [QAPI_EVENT_RTC_CHANGE] = { 1000 * SCALE_MS }, 311 [QAPI_EVENT_BLOCK_IO_ERROR] = { 1000 * SCALE_MS }, 312 [QAPI_EVENT_WATCHDOG] = { 1000 * SCALE_MS }, 313 [QAPI_EVENT_BALLOON_CHANGE] = { 1000 * SCALE_MS }, 314 [QAPI_EVENT_QUORUM_REPORT_BAD] = { 1000 * SCALE_MS }, 315 [QAPI_EVENT_QUORUM_FAILURE] = { 1000 * SCALE_MS }, 316 [QAPI_EVENT_VSERPORT_CHANGE] = { 1000 * SCALE_MS }, 317 [QAPI_EVENT_MEMORY_DEVICE_SIZE_CHANGE] = { 1000 * SCALE_MS }, 318 [QAPI_EVENT_HV_BALLOON_STATUS_REPORT] = { 1000 * SCALE_MS },
|
/openbmc/qemu/include/qemu/ |
H A D | timer.h | 12 #define SCALE_MS 1000000 macro 118 return qemu_clock_get_ns(type) / SCALE_MS; in qemu_clock_get_ms() 484 timer_init(ts, type, SCALE_MS, cb, opaque); in timer_init_ms() 592 return timer_new(type, SCALE_MS, cb, opaque); in timer_new_ms()
|
/openbmc/qemu/migration/ |
H A D | cpu-throttle.c | 64 if (sleeptime_ns > SCALE_MS) { in cpu_throttle_thread() 66 sleeptime_ns / SCALE_MS); in cpu_throttle_thread()
|
/openbmc/qemu/accel/tcg/ |
H A D | monitor.c | 31 (cpu_get_clock() - icount_get()) / SCALE_MS); in dump_drift_info() 34 -max_delay / SCALE_MS); in dump_drift_info() 36 max_advance / SCALE_MS); in dump_drift_info()
|
H A D | cpu-exec.c | 89 Sleep(sc->diff_clk / SCALE_MS); in align_clocks()
|
/openbmc/qemu/hw/timer/ |
H A D | armv7m_systick.c | 105 val = clock_ns_to_ticks(s->refclk, 10 * SCALE_MS) - 1; in systick_read() 107 if (clock_ticks_to_ns(s->refclk, val + 1) != 10 * SCALE_MS) { in systick_read()
|
/openbmc/qemu/util/ |
H A D | main-loop.c | 275 timeout_ns = (int64_t)timeout * (int64_t)SCALE_MS; in glib_pollfds_fill() 512 poll_timeout_ns = (int64_t)poll_timeout * (int64_t)SCALE_MS; 582 timeout_ns = (uint64_t)mlpoll.timeout * (int64_t)(SCALE_MS); in main_loop_wait()
|
H A D | qemu-timer.c | 315 ms = DIV_ROUND_UP(ns, SCALE_MS); in qemu_timeout_ns_to_ms()
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc_booke.c | 193 *next = MAX(*next, now + SCALE_MS); in booke_update_fixed_timer()
|
/openbmc/qemu/tests/unit/ |
H A D | test-aio.c | 373 TimerTestData data = { .n = 0, .ctx = ctx, .ns = SCALE_MS * 750LL, in test_timer_schedule() 704 TimerTestData data = { .n = 0, .ctx = ctx, .ns = SCALE_MS * 750LL, in test_source_timer_schedule()
|
/openbmc/qemu/net/ |
H A D | slirp.c | 220 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in net_slirp_timer_new_opaque() 230 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in net_slirp_timer_new()
|
H A D | colo-compare.c | 932 SCALE_MS, check_old_packet_regular, in colo_compare_timer_init()
|
/openbmc/qemu/ui/ |
H A D | input.c | 423 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in qemu_input_event_send_key_delay()
|
/openbmc/qemu/block/ |
H A D | iscsi.c | 268 SCALE_MS, iscsi_retry_timer_expired, iTask); in iscsi_co_generic_cb() 1566 QEMU_CLOCK_REALTIME, SCALE_MS, in iscsi_attach_aio_context() 1574 QEMU_CLOCK_REALTIME, SCALE_MS, in iscsi_attach_aio_context()
|
H A D | nvme.c | 816 deadline = qemu_clock_get_ns(QEMU_CLOCK_REALTIME) + timeout_ms * SCALE_MS; in nvme_init() 857 deadline = now + timeout_ms * SCALE_MS; in nvme_init()
|
H A D | qcow2.c | 854 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in cache_clean_timer_init()
|
/openbmc/qemu/hw/remote/ |
H A D | vfio-user-obj.c | 247 (void)qemu_poll_ns(pfds, 1, 500 * (int64_t)SCALE_MS); in vfu_object_attach_ctx()
|
/openbmc/qemu/hw/block/ |
H A D | pflash_cfi02.c | 624 (1ULL << pfl->cfi_table[0x22]) * SCALE_MS); in pflash_write()
|
/openbmc/qemu/hw/audio/ |
H A D | hda-codec.c | 134 #define HDA_TIMER_TICKS (SCALE_MS)
|
/openbmc/qemu/audio/ |
H A D | audio.c | 832 trace_audio_timer_start(s->period_ticks / SCALE_MS); in audio_reset_timer() 851 trace_audio_timer_delayed(diff / SCALE_MS); in audio_timer()
|
/openbmc/qemu/target/i386/kvm/ |
H A D | xen-emu.c | 1107 delta = (100 * SCALE_MS); in do_set_singleshot_timer()
|
/openbmc/qemu/target/arm/hvf/ |
H A D | hvf.c | 1848 if (!seconds && nanos < (2 * SCALE_MS)) { in hvf_sync_vtimer()
|
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | 2675 timer_mod(timer, qemu_clock_get_ns(QEMU_CLOCK_HOST) + SCALE_MS * ms); in sleep_f()
|