Home
last modified time | relevance | path

Searched refs:ticks_per_sec (Results 1 – 8 of 8) sorted by relevance

/external/qemu/hw/
Dgoldfish_timer.c45 … int64_t alarm = muldiv64(s->alarm_low | (int64_t)s->alarm_high << 32, ticks_per_sec, 1000000000); in goldfish_timer_save()
80 s->now = muldiv64(qemu_get_clock(vm_clock), 1000000000, ticks_per_sec); in goldfish_timer_read()
98 … alarm = muldiv64(s->alarm_low | (int64_t)s->alarm_high << 32, ticks_per_sec, 1000000000); in goldfish_timer_write()
Dusb-ohci.c1602 usb_frame_time = ticks_per_sec; in usb_ohci_init()
1603 usb_bit_time = muldiv64(1, ticks_per_sec, USB_HZ/1000); in usb_ohci_init()
1605 usb_frame_time = muldiv64(1, ticks_per_sec, 1000); in usb_ohci_init()
1606 if (ticks_per_sec >= USB_HZ) { in usb_ohci_init()
1607 usb_bit_time = muldiv64(1, ticks_per_sec, USB_HZ); in usb_ohci_init()
/external/qemu/audio/
Dnoaudio.c54 bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_out()
110 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_in()
Dwavaudio.c63 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in wav_out_run()
355 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in wav_in_run()
Daudio.c1995 conf.period.ticks = ticks_per_sec / conf.period.hz; in AUD_init()
/external/qemu/
Dqemu-timer.h30 extern int64_t ticks_per_sec;
Dmonitor.c1019 muldiv64(ticks_per_sec, hold_time, 1000)); in do_sendkey()
1250 dev_time, dev_time / (double)ticks_per_sec); in do_info_profile()
1252 qemu_time, qemu_time / (double)ticks_per_sec); in do_info_profile()
1254 kqemu_time, kqemu_time / (double)ticks_per_sec, in do_info_profile()
Dvl.c207 int64_t ticks_per_sec; variable
1298 ticks_per_sec = QEMU_TIMER_BASE; in init_timers()
1334 qemu_put_be64(f, ticks_per_sec); in timer_save()
1346 ticks_per_sec=qemu_get_be64(f); in timer_load()
1376 muldiv64(delta_min, 1000000, ticks_per_sec), in host_alarm_handler()
1377 muldiv64(delta_max, 1000000, ticks_per_sec), in host_alarm_handler()
1378 muldiv64(delta_cum, 1000000 / DISP_FREQ, ticks_per_sec), in host_alarm_handler()
1379 (double)ticks_per_sec / ((double)delta_cum / DISP_FREQ)); in host_alarm_handler()