VirtualBox

Changeset 1273 in vbox


Ignore:
Timestamp:
Mar 6, 2007 1:41:17 PM (18 years ago)
Author:
vboxsync
Message:

Keep stats for forced SVM exits.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r1210 r1273  
    194194    STAM_REG(pVM, &pVM->hwaccm.s.StatExitIrqWindow, STAMTYPE_COUNTER, "/HWACCM/Exit/GuestIrq/Pending",  STAMUNIT_OCCURENCES,    "Nr of occurances");
    195195
     196    STAM_REG(pVM, &pVM->hwaccm.s.StatExitForced,    STAMTYPE_COUNTER, "/HWACCM/Exit/SVM/Forced",        STAMUNIT_OCCURENCES,    "Nr of forced exits");
     197
    196198    STAM_REG(pVM, &pVM->hwaccm.s.StatSwitchGuestIrq,STAMTYPE_COUNTER, "/HWACCM/Switch/IrqPending",      STAMUNIT_OCCURENCES,    "Nr of occurances");
    197199    STAM_REG(pVM, &pVM->hwaccm.s.StatSwitchToR3,    STAMTYPE_COUNTER, "/HWACCM/Switch/ToR3",            STAMUNIT_OCCURENCES,    "Nr of occurances");
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r1272 r1273  
    279279    STAMCOUNTER             StatIntReinject;
    280280    STAMCOUNTER             StatPendingHostIrq;
     281    STAMCOUNTER             StatExitForced;
    281282
    282283    STAMCOUNTER             StatSwitchGuestIrq;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r1272 r1273  
    825825    {
    826826        exitCode = SVM_EXIT_INTR;
     827        STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitForced);
    827828    }
    828829
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