mirror of https://github.com/xemu-project/xemu.git
qemu-tool: do not depend on qemu-timer.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
172061a0a0
commit
3f4cdf1511
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue