VirtualBox

Changeset 40656 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Mar 26, 2012 8:07:36 PM (13 years ago)
Author:
vboxsync
Message:

Added counters so that VT-x exit stats add up.

File:
1 edited

Legend:

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

    r40561 r40656  
    30253025#endif
    30263026                /* Need to go back to the recompiler to emulate the instruction. */
     3027                STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitShadowPFEM);
    30273028                TRPMResetTrap(pVCpu);
    30283029                break;
     
    31023103            case X86_XCPT_BP:   /* Breakpoint. */
    31033104            {
     3105                STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitGuestBP);
    31043106                rc = DBGFRZTrap03Handler(pVM, pVCpu, CPUMCTX2CORE(pCtx));
    31053107                if (rc == VINF_EM_RAW_GUEST_TRAP)
     
    33893391                    STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitGuestNP);
    33903392                    break;
     3393                case X86_XCPT_XF:
     3394                    STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitGuestXF);
     3395                    break;
    33913396                }
    33923397
     
    34003405#endif
    34013406            default:
     3407                STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitGuestXcpUnk);
    34023408                if (    CPUMIsGuestInRealModeEx(pCtx)
    34033409                    &&  pVM->hwaccm.s.vmx.pRealModeTSS)
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