VirtualBox

Ignore:
Timestamp:
Feb 13, 2021 1:57:20 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142803
Message:

VMM: Eliminated one ASMReadTSC in TMNotifyEndOfExecution. Both VT-x and AMD-V has the TSC value handy. bugref:9941

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r87606 r87751  
    43824382    STAM_PROFILE_ADV_STOP_START(&pVCpu->hm.s.StatInGC, &pVCpu->hm.s.StatPreExit, x);
    43834383    PVMCC pVM = pVCpu->CTX_SUFF(pVM);
    4384     TMNotifyEndOfExecution(pVM, pVCpu);                         /* Notify TM that the guest is no longer running. */
     4384    TMNotifyEndOfExecution(pVM, pVCpu, uHostTsc);               /* Notify TM that the guest is no longer running. */
    43854385    VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_HM);
    43864386
Note: See TracChangeset for help on using the changeset viewer.

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