Displaying 1 result from an estimated 1 matches for "qemu_timer_realtim".
Did you mean:
qemu_timer_realtime
2012 Mar 16
2
[PATCH v3] use INT64_MAX as max expiration
...t rtdelta;
if (use_icount)
- delta = INT32_MAX;
- else
- delta = (qemu_next_deadline() + 999) / 1000;
+ delta = INT64_MAX;
+ else {
+ delta = qemu_next_deadline();
+ delta = (delta / 1000) + (delta % 1000 > 0 ? 1 : 0);
+ }
if (active_timers[QEMU_TIMER_REALTIME]) {
rtdelta = (active_timers[QEMU_TIMER_REALTIME]->expire_time -
@@ -3872,8 +3873,8 @@ int main_loop(void)
env->icount_decr.u16.low = 0;
env->icount_extra = 0;
count = qemu_next_deadline();
- count...