提交 3f4cdf15 编写于 作者: P Paolo Bonzini

qemu-tool: do not depend on qemu-timer.c

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 172061a0
...@@ -70,7 +70,7 @@ void monitor_protocol_event(MonitorEvent event, QObject *data) ...@@ -70,7 +70,7 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
int64_t cpu_get_clock(void) int64_t cpu_get_clock(void)
{ {
return qemu_get_clock_ns(rt_clock); return get_clock_realtime();
} }
int64_t cpu_get_icount(void) int64_t cpu_get_icount(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册