diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-09-12 16:21:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-21 18:14:30 +0200 |
commit | 2ff68d0738768643e796ab39f007c1f3858e67f1 (patch) | |
tree | e8abf0e3abba74a56bc1eebf2f749793a1d0e686 /qemu-timer.h | |
parent | 4260a7391190d2d01fac50ee3d738a15bab6b98e (diff) |
qemu-timer: move more stuff out of qemu-timer.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-timer.h')
-rw-r--r-- | qemu-timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-timer.h b/qemu-timer.h index b4ea2015ea..9f4ffed75c 100644 --- a/qemu-timer.h +++ b/qemu-timer.h @@ -52,9 +52,11 @@ QEMUTimer *qemu_new_timer(QEMUClock *clock, int scale, QEMUTimerCB *cb, void *opaque); void qemu_free_timer(QEMUTimer *ts); void qemu_del_timer(QEMUTimer *ts); +void qemu_mod_timer_ns(QEMUTimer *ts, int64_t expire_time); void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time); int qemu_timer_pending(QEMUTimer *ts); int qemu_timer_expired(QEMUTimer *timer_head, int64_t current_time); +uint64_t qemu_timer_expire_time_ns(QEMUTimer *ts); void qemu_run_all_timers(void); int qemu_alarm_pending(void); |