aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-12 15:50:16 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-10-21 18:14:30 +0200
commitdc2dfcf0002b4e6be494959a1ed2589dd109def0 (patch)
tree9710f4a6b64e4f449bbe1e0be348df5b281f20dc /qemu-timer.h
parentf3fc6e2e9613d33e715624e6dd60f525f49446d1 (diff)
qemu-timer: more clock functions
These will be used when moving icount accounting to cpus.c. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-timer.h')
-rw-r--r--qemu-timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-timer.h b/qemu-timer.h
index 0a43469847..4578075f6f 100644
--- a/qemu-timer.h
+++ b/qemu-timer.h
@@ -38,6 +38,9 @@ extern QEMUClock *vm_clock;
extern QEMUClock *host_clock;
int64_t qemu_get_clock_ns(QEMUClock *clock);
+int64_t qemu_clock_has_timers(QEMUClock *clock);
+int64_t qemu_clock_expired(QEMUClock *clock);
+int64_t qemu_clock_deadline(QEMUClock *clock);
void qemu_clock_enable(QEMUClock *clock, int enabled);
void qemu_clock_warp(QEMUClock *clock);