VirtualBox

Changeset 61155 in vbox


Ignore:
Timestamp:
May 24, 2016 10:19:36 AM (9 years ago)
Author:
vboxsync
Message:

Promoted HM/CPUx/Switch/Preempting to a release statistics.

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

Legend:

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

    r61058 r61155  
    17731773            /* Restore longjmp state. */
    17741774            VMMRZCallRing3Enable(pVCpu);
    1775             STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchPreempt);
     1775            STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatSwitchPreempt);
    17761776            break;
    17771777        }
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r60939 r61155  
    836836        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchHltToR3,          "/HM/CPU%d/Switch/HltToR3", "HLT causing us to go to ring-3.");
    837837        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchApicAccessToR3,   "/HM/CPU%d/Switch/ApicAccessToR3", "APIC access causing us to go to ring-3.");
     838#endif
    838839        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchPreempt,          "/HM/CPU%d/Switch/Preempting", "EMT has been preempted while in HM context.");
     840#ifdef VBOX_WITH_STATISTICS
    839841        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchPreemptSaveHostState, "/HM/CPU%d/Switch/SaveHostState", "Preemption caused us to resave host state.");
    840842
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