Home
last modified time | relevance | path

Searched refs:SCALE_MS (Results 1 – 23 of 23) sorted by relevance

/qemu/monitor/
H A Dmonitor.c311 [QAPI_EVENT_RTC_CHANGE] = { 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 },
/qemu/system/
H A Dcpu-throttle.c56 if (sleeptime_ns > SCALE_MS) { in cpu_throttle_thread()
58 sleeptime_ns / SCALE_MS); in cpu_throttle_thread()
/qemu/include/qemu/
H A Dtimer.h12 #define SCALE_MS 1000000 macro
118 return qemu_clock_get_ns(type) / SCALE_MS; in qemu_clock_get_ms()
490 timer_init(ts, type, SCALE_MS, cb, opaque); in timer_init_ms()
598 return timer_new(type, SCALE_MS, cb, opaque); in timer_new_ms()
/qemu/accel/tcg/
H A Dmonitor.c31 (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 Dcpu-exec.c92 Sleep(sc->diff_clk / SCALE_MS); in align_clocks()
/qemu/hw/timer/
H A Darmv7m_systick.c105 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()
/qemu/util/
H A Dmain-loop.c275 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 Dqemu-timer.c325 ms = DIV_ROUND_UP(ns, SCALE_MS); in qemu_timeout_ns_to_ms()
/qemu/hw/ppc/
H A Dppc_booke.c183 *next = MAX(*next, now + SCALE_MS); in booke_update_fixed_timer()
/qemu/tests/unit/
H A Dtest-aio.c373 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()
/qemu/net/
H A Dslirp.c220 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 Dcolo-compare.c933 SCALE_MS, check_old_packet_regular, in colo_compare_timer_init()
/qemu/ui/
H A Dinput.c459 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in qemu_input_event_send_key_delay()
/qemu/block/
H A Discsi.c268 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 Dnvme.c816 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 Dqcow2.c854 SCALE_MS, QEMU_TIMER_ATTR_EXTERNAL, in cache_clean_timer_init()
/qemu/hw/remote/
H A Dvfio-user-obj.c247 (void)qemu_poll_ns(pfds, 1, 500 * (int64_t)SCALE_MS); in vfu_object_attach_ctx()
/qemu/hw/block/
H A Dpflash_cfi02.c624 (1ULL << pfl->cfi_table[0x22]) * SCALE_MS); in pflash_write()
/qemu/hw/audio/
H A Dhda-codec.c134 #define HDA_TIMER_TICKS (SCALE_MS)
/qemu/audio/
H A Daudio.c832 trace_audio_timer_start(s->period_ticks / SCALE_MS); in audio_reset_timer()
851 trace_audio_timer_delayed(diff / SCALE_MS); in audio_timer()
/qemu/target/i386/kvm/
H A Dxen-emu.c1112 delta = (100 * SCALE_MS); in do_set_singleshot_timer()
/qemu/target/arm/hvf/
H A Dhvf.c1776 if (!seconds && nanos < (2 * SCALE_MS)) { in hvf_wfi()
/qemu/
H A Dqemu-io-cmds.c2675 timer_mod(timer, qemu_clock_get_ns(QEMU_CLOCK_HOST) + SCALE_MS * ms); in sleep_f()