]> git.proxmox.com Git - qemu.git/commit - qemu-timer.c
qemu-timer: Add and use new function qemu_timer_expired_ns
authorStefan Weil <weil@mail.berlios.de>
Thu, 24 Mar 2011 20:31:24 +0000 (21:31 +0100)
committerStefan Weil <weil@mail.berlios.de>
Wed, 27 Apr 2011 11:30:18 +0000 (13:30 +0200)
commit45c7b37fb9c452bcc6fce0ac429ea1d1aa1f9e51
tree558455e0301a7e1b0863f62be4a4b950bc72886d
parent430a3c18064fd3c007048d757e8bd0fff45fcc99
qemu-timer: Add and use new function qemu_timer_expired_ns

This simply moves code which is used three times
into a new function thus improving readability.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
qemu-timer.c