VirtualBox

Changeset 87633 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 5, 2021 9:37:09 PM (4 years ago)
Author:
vboxsync
Message:

VMM/TM,VMM/HMVMX: Try avoid calling TMCpuTickGetDeadlineAndTscOffset as it is expensive. Current approach is a bit erratic wrt CPUID benchmark results, but it's generally better than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp

    r86905 r87633  
    12821282                         *        code in VMEmt.cpp here, otherwise all kind of EMT interaction will
    12831283                         *        suffer when the guest is polling on a busy FIFO. */
    1284                         uint64_t cNsMaxWait = TMVirtualSyncGetNsToDeadline(PDMDevHlpGetVM(pDevIns));
     1284                        uint64_t uIgnored1, uIgnored2;
     1285                        uint64_t cNsMaxWait = TMVirtualSyncGetNsToDeadline(PDMDevHlpGetVM(pDevIns), &uIgnored1, &uIgnored2);
    12851286                        if (cNsMaxWait >= RT_NS_100US)
    12861287                            RTSemEventMultiWaitEx(pSVGAState->hBusyDelayedEmts,
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