Home
last modified time | relevance | path

Searched refs:qemu_get_clock_ns (Results 1 – 15 of 15) sorted by relevance

/external/qemu/
Dqemu-timer.c294 cur_icount = qemu_get_clock_ns(vm_clock); in icount_adjust()
323 qemu_get_clock_ns(vm_clock) + get_ticks_per_sec() / 10); in icount_adjust_vm()
453 int64_t clock = qemu_get_clock_ns(rt_clock); in icount_warp_rt()
463 int64_t cur_icount = qemu_get_clock_ns(vm_clock); in icount_warp_rt()
468 qemu_get_clock_ns(vm_clock))) { in icount_warp_rt()
503 vm_clock_warp_start = qemu_get_clock_ns(rt_clock); in qemu_clock_warp()
632 current_time = qemu_get_clock_ns(clock); in qemu_run_timers()
665 int64_t qemu_get_clock_ns(QEMUClock *clock) in qemu_get_clock_ns() function
764 qemu_get_clock_ns(vm_clock) + get_ticks_per_sec() / 10); in configure_icount()
814 ti = qemu_get_clock_ns(vm_clock); in host_alarm_handler()
[all …]
Dqemu-timer.h40 int64_t qemu_get_clock_ns(QEMUClock *clock);
83 return qemu_get_clock_ns(clock) / SCALE_MS; in qemu_get_clock_ms()
Darch_init.c300 bwidth = qemu_get_clock_ns(rt_clock); in ram_save_live()
312 bwidth = qemu_get_clock_ns(rt_clock) - bwidth; in ram_save_live()
Dsavevm.c1294 sn->vm_clock_nsec = qemu_get_clock_ns(vm_clock); in do_savevm()
/external/qemu/hw/
Dgoldfish_timer.c46 int64_t now_ns = qemu_get_clock_ns(vm_clock); in goldfish_timer_save()
81 s->now_ns = qemu_get_clock_ns(vm_clock); in goldfish_timer_read()
99 now_ns = qemu_get_clock_ns(vm_clock); in goldfish_timer_write()
Di8254.c69 d = muldiv64(qemu_get_clock_ns(vm_clock) - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_count()
192 s->count_load_time = qemu_get_clock_ns(vm_clock); in pit_set_gate()
200 s->count_load_time = qemu_get_clock_ns(vm_clock); in pit_set_gate()
231 s->count_load_time = qemu_get_clock_ns(vm_clock); in pit_load_count()
265 s->status = (pit_get_out1(s, qemu_get_clock_ns(vm_clock)) << 7) | in pit_ioport_write()
Dmc146818rtc.c112 int64_t next_clock = qemu_get_clock_ns(vm_clock) + in rtc_coalesced_timer_update()
240 rtc_timer_update(s, qemu_get_clock_ns(vm_clock)); in cmos_ioport_write()
254 rtc_timer_update(s, qemu_get_clock_ns(vm_clock)); in cmos_ioport_write()
624 s->next_second_time = qemu_get_clock_ns(vm_clock) + (get_ticks_per_sec() * 99) / 100; in rtc_init_sqw()
741 s->next_second_time = qemu_get_clock_ns(vm_clock) + (get_ticks_per_sec() * 99) / 100; in rtc_mm_init()
Dapic.c602 d = (qemu_get_clock_ns(vm_clock) - s->initial_count_load_time) >> in apic_get_current_count()
809 apic_timer_update(s, qemu_get_clock_ns(vm_clock)); in apic_mem_writel()
814 s->initial_count_load_time = qemu_get_clock_ns(vm_clock); in apic_mem_writel()
Dgoldfish_pipe.c846 int64_t now = qemu_get_clock_ns(vm_clock); in throttlePipe_timerFunc()
884 pipe->sendExpiration = qemu_get_clock_ns(vm_clock) + ret*pipe->sendRate; in throttlePipe_sendBuffers()
902 pipe->recvExpiration = qemu_get_clock_ns(vm_clock) + ret*pipe->recvRate; in throttlePipe_recvBuffers()
Darmv7m_nvic.c67 s->systick.tick = qemu_get_clock_ns(vm_clock); in systick_reload()
Dbt-hci-csr.c91 qemu_mod_timer(s->out_tm, qemu_get_clock_ns(vm_clock) + s->baud_delay); in csrhci_fifo_wake()
Dusb-ohci.c1098 ohci->sof_time = qemu_get_clock_ns(vm_clock); in ohci_sof()
1307 tks = qemu_get_clock_ns(vm_clock) - ohci->sof_time; in ohci_get_frame_remaining()
Dbt-hci.c579 qemu_mod_timer(timer, qemu_get_clock_ns(vm_clock) + in bt_hci_mod_timer_1280ms()
1087 qemu_mod_timer(link->acl_mode_timer, qemu_get_clock_ns(vm_clock) + in bt_hci_mode_change()
/external/qemu/android/
Dhw-sensors.c340 now_ns = qemu_get_clock_ns(vm_clock); in _hwSensorClient_tick()
/external/qemu/audio/
Daudio.c1230 qemu_mod_timer (s->ts, qemu_get_clock_ns (vm_clock) + conf.period.ticks); in audio_timer()
1253 qemu_mod_timer (s->ts, qemu_get_clock_ns (vm_clock) + 1); in audio_reset_timer()