search for: rtdelta

Displaying 1 result from an estimated 1 matches for "rtdelta".

Did you mean: rpdelta
2012 Mar 16
2
[PATCH v3] use INT64_MAX as max expiration
...qemu_get_clock(vm_clock); } else { - /* To avoid problems with overflow limit this to 2^32. */ - delta = INT32_MAX; + delta = INT64_MAX; } if (delta < 0) @@ -1427,9 +1426,11 @@ static uint64_t qemu_next_deadline_dyntick(void) int64_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_TIME...