aboutsummaryrefslogtreecommitdiff
path: root/qemu-tool.c
diff options
context:
space:
mode:
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)