VirtualBox

Changeset 47513 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 1, 2013 4:35:12 PM (11 years ago)
Author:
vboxsync
Message:

on AMD too

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

Legend:

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

    r47472 r47513  
    35623562    HMSVM_VALIDATE_EXIT_HANDLER_PARAMS();
    35633563
    3564 #ifdef VBOX_WITH_STATISTICS
    35653564    if (pSvmTransient->u64ExitCode == SVM_EXIT_NMI)
    35663565        STAM_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi);
    35673566    else if (pSvmTransient->u64ExitCode == SVM_EXIT_INTR)
    3568         STAM_COUNTER_INC(&pVCpu->hm.s.StatExitExtInt);
    3569 #endif
     3567        STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitExtInt);
    35703568
    35713569    /*
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r47472 r47513  
    22342234    case SVM_EXIT_SMI:
    22352235    case SVM_EXIT_INIT:
    2236 #ifdef VBOX_WITH_STATISTICS
    22372236        if (exitCode == SVM_EXIT_INTR)
    22382237            STAM_COUNTER_INC(&pVCpu->hm.s.StatExitExtInt);
    22392238        else if (exitCode == SVM_EXIT_NMI)
    2240             STAM_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi);
    2241 #endif
     2239            STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi);
     2240
    22422241        /* External interrupt; leave to allow it to be dispatched again. */
    22432242        rc = VINF_EM_RAW_INTERRUPT;
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