Revision 74475455
ID | 74475455442398a64355428b37422d14ccc293cb |
change all other clock references to use nanosecond resolution accessors
This was done with:
sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )
after checking that get_clock and new_timer never occur twice
on the same line. There were no missed occurrences; however, even
if there had been, they would have been caught by the compiler.
There was exactly one false positive in qemu_run_timers:
- current_time = qemu_get_clock (clock);
+ current_time = qemu_get_clock_ns (clock);
which is of course not in this patch.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted
- audio
- audio.c (diff)
- noaudio.c (diff)
- spiceaudio.c (diff)
- wavaudio.c (diff)
- hw
- acpi_piix4.c (diff)
- adlib.c (diff)
- apic.c (diff)
- arm_sysctl.c (diff)
- armv7m_nvic.c (diff)
- baum.c (diff)
- bt-hci-csr.c (diff)
- bt-hci.c (diff)
- cuda.c (diff)
- dp8393x.c (diff)
- etraxfs_timer.c (diff)
- fdc.c (diff)
- hpet.c (diff)
- i8254.c (diff)
- i8259.c (diff)
- ide
- intel-hda.c (diff)
- lan9118.c (diff)
- lm832x.c (diff)
- m48t59.c (diff)
- mc146818rtc.c (diff)
- mips_timer.c (diff)
- mpcore.c (diff)
- omap1.c (diff)
- omap_gptimer.c (diff)
- omap_synctimer.c (diff)
- pcnet.c (diff)
- pcspk.c (diff)
- pflash_cfi01.c (diff)
- pflash_cfi02.c (diff)
- pl031.c (diff)
- ppc.c (diff)
- ppc405_uc.c (diff)
- ppc_prep.c (diff)
- ptimer.c (diff)
- pxa2xx.c (diff)
- pxa2xx_timer.c (diff)
- rc4030.c (diff)
- rtl8139.c (diff)
- sb16.c (diff)
- serial.c (diff)
- soc_dma.c (diff)
- spitz.c (diff)
- stellaris.c (diff)
- sun4u.c (diff)
- syborg_rtc.c (diff)
- tsc2005.c (diff)
- tsc210x.c (diff)
- tusb6010.c (diff)
- usb-hid.c (diff)
- usb-musb.c (diff)
- usb-ohci.c (diff)
- usb-uhci.c (diff)
- vga.c (diff)
- virtio-net.c (diff)
- vt82c686.c (diff)
- wdt_i6300esb.c (diff)
- wdt_ib700.c (diff)
- monitor.c (diff)
- net
- qemu-timer.c (diff)
- savevm.c (diff)
- target-ppc