Home
last modified time | relevance | path

Searched refs:get_ticks_per_sec (Results 1 – 10 of 10) sorted by relevance

/external/qemu/hw/mips/
Dcputimer.c30 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/
Dmc146818rtc.c113 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()
Di8254.c69 …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/
Dnoaudio.c51 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()
Dwavaudio.c66 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()
Daudio.c2039 muldiv64 (1, get_ticks_per_sec (), conf.period.hertz); in audio_init()
/external/qemu/include/qemu/
Dtimer.h693 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/
Di8259.c256 … (double)(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - irq_time[irq]) * 1000000.0 / get_ticks_per_sec); in pic_read_irq()
/external/qemu/net/
Dnet.c1960 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec()); in dump_receive()
Dnet-android.c2039 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec()); in dump_receive()