Searched refs:qemu_get_clock_ns (Results 1 – 15 of 15) sorted by relevance
/external/qemu/ |
D | qemu-timer.c | 294 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 …]
|
D | qemu-timer.h | 40 int64_t qemu_get_clock_ns(QEMUClock *clock); 83 return qemu_get_clock_ns(clock) / SCALE_MS; in qemu_get_clock_ms()
|
D | arch_init.c | 300 bwidth = qemu_get_clock_ns(rt_clock); in ram_save_live() 312 bwidth = qemu_get_clock_ns(rt_clock) - bwidth; in ram_save_live()
|
D | savevm.c | 1294 sn->vm_clock_nsec = qemu_get_clock_ns(vm_clock); in do_savevm()
|
/external/qemu/hw/ |
D | goldfish_timer.c | 46 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()
|
D | i8254.c | 69 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()
|
D | mc146818rtc.c | 112 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()
|
D | apic.c | 602 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()
|
D | goldfish_pipe.c | 846 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()
|
D | armv7m_nvic.c | 67 s->systick.tick = qemu_get_clock_ns(vm_clock); in systick_reload()
|
D | bt-hci-csr.c | 91 qemu_mod_timer(s->out_tm, qemu_get_clock_ns(vm_clock) + s->baud_delay); in csrhci_fifo_wake()
|
D | usb-ohci.c | 1098 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()
|
D | bt-hci.c | 579 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/ |
D | hw-sensors.c | 340 now_ns = qemu_get_clock_ns(vm_clock); in _hwSensorClient_tick()
|
/external/qemu/audio/ |
D | audio.c | 1230 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()
|