diff options
author | Sigrid <ftrvxmtrx@gmail.com> | 2021-02-23 15:54:09 +0100 |
---|---|---|
committer | Sigrid <ftrvxmtrx@gmail.com> | 2021-02-23 15:54:09 +0100 |
commit | 692919521c15531cc0bed3006fd958b164a746ab (patch) | |
tree | 61d5288b0552cfa33e211d251610abf548d8ca3e /sys/src/cmd/python/Python/pyarena.c | |
parent | 007d42e741b780aeecefd66776b1733c3dd53522 (diff) |
vmx: reduce cpu load by eliminating nop-loop
Sacrifice some of the sub-millisecond timer precision in favor of less
cpu load when the timer is about to be kicked a bit early. Result is
visible *especially* when the guest idling.
Timer proc *still* has to send to the channel (in order to kick PIT
and RTC logic), which takes time, and compensates a bit for possibly
early runs.
Diffstat (limited to 'sys/src/cmd/python/Python/pyarena.c')
0 files changed, 0 insertions, 0 deletions