Searched refs:get_ticks_per_sec (Results 1 – 10 of 10) sorted by relevance
/external/qemu/hw/mips/ |
D | cputimer.c | 30 TIMER_FREQ, get_ticks_per_sec()); in cpu_mips_get_count() 40 (uint32_t)muldiv64(now, TIMER_FREQ, get_ticks_per_sec()); in cpu_mips_timer_update() 41 next = now + muldiv64(wait, get_ticks_per_sec(), TIMER_FREQ); in cpu_mips_timer_update() 53 TIMER_FREQ, get_ticks_per_sec()); in cpu_mips_store_count() 78 TIMER_FREQ, get_ticks_per_sec()); in cpu_mips_stop_count()
|
/external/qemu/hw/timer/ |
D | mc146818rtc.c | 113 muldiv64(s->period / c, get_ticks_per_sec(), 32768); in rtc_coalesced_timer_update() 167 cur_clock = muldiv64(current_time, 32768, get_ticks_per_sec()); in rtc_timer_update() 169 s->next_periodic_time = muldiv64(next_irq_clock, get_ticks_per_sec(), 32768) + 1; in rtc_timer_update() 388 s->next_second_time += get_ticks_per_sec(); in rtc_update_second() 399 delay = (get_ticks_per_sec() * 1) / 100; in rtc_update_second() 438 s->next_second_time += get_ticks_per_sec(); in rtc_update_second2() 624 s->next_second_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + (get_ticks_per_sec() * 99) / 100; in rtc_init_sqw() 747 s->next_second_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + (get_ticks_per_sec() * 99) / 100; in rtc_mm_init()
|
D | i8254.c | 69 …uldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_count() 94 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_out1() 133 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_next_transition_time() 169 next_time = s->count_load_time + muldiv64(next_time, get_ticks_per_sec(), PIT_FREQ); in pit_get_next_transition_time() 376 (double)(expire_time - current_time) / get_ticks_per_sec()); in pit_irq_timer_update()
|
/external/qemu/audio/ |
D | noaudio.c | 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_out() 108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_in()
|
D | wavaudio.c | 66 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in wav_out_run() 360 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); in wav_in_run()
|
D | audio.c | 2039 muldiv64 (1, get_ticks_per_sec (), conf.period.hertz); in audio_init()
|
/external/qemu/include/qemu/ |
D | timer.h | 693 static inline int64_t get_ticks_per_sec(void) in get_ticks_per_sec() function 721 return muldiv64(ti.QuadPart, get_ticks_per_sec(), clock_freq); in get_clock()
|
/external/qemu/hw/intc/ |
D | i8259.c | 256 … (double)(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - irq_time[irq]) * 1000000.0 / get_ticks_per_sec); in pic_read_irq()
|
/external/qemu/net/ |
D | net.c | 1960 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec()); in dump_receive()
|
D | net-android.c | 2039 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec()); in dump_receive()
|