Searched refs:get_ticks_per_sec (Results 1 - 10 of 10) sorted by relevance
/external/qemu/hw/mips/ |
H A D | cputimer.c | 30 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 D | noaudio.c | 51 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 D | wavaudio.c | 66 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 D | audio.c | 2039 muldiv64 (1, get_ticks_per_sec (), conf.period.hertz);
|
/external/qemu/hw/timer/ |
H A D | i8254.c | 69 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 D | mc146818rtc.c | 113 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 D | timer.h | 693 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 D | i8259.c | 256 (double)(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - irq_time[irq]) * 1000000.0 / get_ticks_per_sec);
|
/external/qemu/net/ |
H A D | net-android.c | 2039 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec());
|
H A D | net.c | 1960 ts = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), 1000000, get_ticks_per_sec());
|
Completed in 163 milliseconds