mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue