VirtualBox

Changeset 77381 in vbox for trunk/src


Ignore:
Timestamp:
Feb 20, 2019 1:41:14 PM (6 years ago)
Author:
vboxsync
Message:

VMM: Further improvments on the IEM timer polling by making it fully configurable. Sideeffect is that EMSTATE_IEM_THEN_REM has now become more accurate and will execute fewer instructions (exactly 1024 rather than up to 1023+4096) before switching to REM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r77380 r77381  
    1444314443                            if (cMaxInstructions-- > 0)
    1444414444                            {
    14445                                 /* Poll timers every 2048 instructions. */
     14445                                /* Poll timers every now an then according to the caller's specs. */
    1444614446                                if (   (cMaxInstructions & cPollRate) != 0
    1444714447                                    || !TMTimerPollBool(pVM, pVCpu))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette