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

/external/qemu/hw/mips/
H A Dcputimer.c30 TIMER_FREQ, get_ticks_per_sec());
40 (uint32_t)muldiv64(now, TIMER_FREQ, get_ticks_per_sec());
41 next = now + muldiv64(wait, get_ticks_per_sec(), TIMER_FREQ);
53 TIMER_FREQ, get_ticks_per_sec());
78 TIMER_FREQ, get_ticks_per_sec());
/external/qemu/audio/
H A Dnoaudio.c51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
H A Dwavaudio.c66 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
360 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec());
H A Daudio.c2039 muldiv64 (1, get_ticks_per_sec (), conf.period.hertz);
/external/qemu/hw/timer/
H A Di8254.c69 d = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - s->count_load_time, PIT_FREQ, get_ticks_per_sec());
94 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec());
133 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec());
169 next_time = s->count_load_time + muldiv64(next_time, get_ticks_per_sec(), PIT_FREQ);
376 (double)(expire_time - current_time) / get_ticks_per_sec());
H A Dmc146818rtc.c113 muldiv64(s->period / c, get_ticks_per_sec(), 32768);
167 cur_clock = muldiv64(current_time, 32768, get_ticks_per_sec());
169 s->next_periodic_time = muldiv64(next_irq_clock, get_ticks_per_sec(), 32768) + 1;
388 s->next_second_time += get_ticks_per_sec();
399 delay = (get_ticks_per_sec() * 1) / 100;
438 s->next_second_time += get_ticks_per_sec();
624 s->next_second_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + (get_ticks_per_sec() * 99) / 100;
747 s->next_second_time = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + (get_ticks_per_sec() * 99) / 100;
/external/qemu/include/qemu/
H A Dtimer.h693 static inline int64_t get_ticks_per_sec(void) function
721 return muldiv64(ti.QuadPart, get_ticks_per_sec(), clock_freq);
/external/qemu/hw/intc/
H A Di8259.c256 (double)(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - irq_time[irq]) * 1000000.0 / get_ticks_per_sec);
/external/qemu/net/
H A Dnet-android.c2039 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec());
H A Dnet.c1960 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec());

Completed in 163 milliseconds