VirtualBox

Changeset 45378 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Apr 5, 2013 2:43:12 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84803
Message:

VMM/VMMR0: HM bits. Some stats and adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r45349 r45378  
    487487                             "/PROF/HM/CPU%d/StatEntry", i);
    488488        AssertRC(rc);
    489         /** @todo r=ramshankar: should be sorted out for the new-code which doesn't
    490          *        have 2 exit parts. */
    491489        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExit1, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    492490                             "Profiling of VMXR0RunGuestCode exit part 1",
     
    497495                             "/PROF/HM/CPU%d/SwitchFromGC_2", i);
    498496        AssertRC(rc);
    499 # if 1 /* temporary for tracking down darwin holdup. */
     497# ifdef VBOX_WITH_OLD_VTX_CODE
     498        /* temporary for tracking down darwin holdup. */
    500499        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExit2Sub1, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    501500                             "Temporary - I/O",
     
    511510        AssertRC(rc);
    512511# endif
     512        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatLoadGuestState, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
     513                             "Profiling of VMXR0LoadGuestState",
     514                             "/PROF/HM/CPU%d/StatLoadGuestState", i);
     515        AssertRC(rc);
    513516        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatInGC, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    514                              "Profiling of vmlaunch",
     517                             "Profiling of vmlaunch/vmresume",
    515518                             "/PROF/HM/CPU%d/InGC", i);
    516519        AssertRC(rc);
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