summaryrefslogtreecommitdiff
path: root/qemu-tool.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-29 18:03:10 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-30 09:18:44 +0100
commit3f4cdf151145f7eaa3480aea5d81d7def2f85a68 (patch)
tree0380dc25471d68fa0c0bd2bf8bdfe338e5f7ea7e /qemu-tool.c
parent172061a0a0d98c974ea8d5ed715195237bc44225 (diff)
downloadqemu-3f4cdf151145f7eaa3480aea5d81d7def2f85a68.zip
qemu-tool: do not depend on qemu-timer.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-tool.c')
-rw-r--r--qemu-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-tool.c b/qemu-tool.c
index 28a4e8d42a..b46631e422 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -70,7 +70,7 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
int64_t cpu_get_clock(void)
{
- return qemu_get_clock_ns(rt_clock);
+ return get_clock_realtime();
}
int64_t cpu_get_icount(void)