VirtualBox

Changeset 79355 in vbox


Ignore:
Timestamp:
Jun 26, 2019 11:19:45 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HM: Nested VMX: bugref:9180 Fix stopping the XcptOrNmi profiling in the right place.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r79346 r79355  
    1404814048         * [2] -- See Intel spec. 27.5.5 "Updating Non-Register State".
    1404914049         */
     14050        STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatExitXcptNmi, y3);
    1405014051        return hmR0VmxExitHostNmi(pVCpu);
    1405114052    }
     
    1640316404
    1640416405    STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmiInGC);
    16405     STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatExitXcptNmi, y3);
    1640616406    return VINF_SUCCESS;
    1640716407}
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r79352 r79355  
    698698                             "/PROF/CPU%d/HM/SwitchFromGC_2/XcptNmi", i);
    699699        AssertRC(rc);
    700 
    701700        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatImportGuestState, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    702701                             "Profiling of importing guest state from hardware after VM-exit.",
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