mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
icount: rename functions to be consistent with the module name
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
740b175973
commit
8191d36841
14 changed files with 60 additions and 60 deletions
|
@ -419,7 +419,7 @@ static void timerlist_rearm(QEMUTimerList *timer_list)
|
|||
{
|
||||
/* Interrupt execution to force deadline recalculation. */
|
||||
if (icount_enabled() && timer_list->clock->type == QEMU_CLOCK_VIRTUAL) {
|
||||
qemu_start_warp_timer();
|
||||
icount_start_warp_timer();
|
||||
}
|
||||
timerlist_notify(timer_list);
|
||||
}
|
||||
|
@ -636,7 +636,7 @@ int64_t qemu_clock_get_ns(QEMUClockType type)
|
|||
default:
|
||||
case QEMU_CLOCK_VIRTUAL:
|
||||
if (icount_enabled()) {
|
||||
return cpu_get_icount();
|
||||
return icount_get();
|
||||
} else if (qtest_enabled()) { /* for qtest_clock_warp */
|
||||
return qtest_get_virtual_clock();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue