VirtualBox

Ignore:
Timestamp:
Jun 28, 2013 4:25:06 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HM: Cleanup event injection statistics.

File:
1 edited

Legend:

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

    r46850 r46871  
    593593        Log(("Reinjecting event %08x %08x at %RGv\n", pVCpu->hm.s.Event.u64IntrInfo, pVCpu->hm.s.Event.u32ErrCode,
    594594             (RTGCPTR)pCtx->rip));
    595         STAM_COUNTER_INC(&pVCpu->hm.s.StatIntReinject);
     595        STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectPendingReflect);
    596596        Event.u = pVCpu->hm.s.Event.u64IntrInfo;
    597597        hmR0SvmInjectEvent(pVCpu, pVmcb, pCtx, &Event);
     
    617617
    618618            hmR0SvmInjectEvent(pVCpu, pVmcb, pCtx, &Event);
     619            STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectXcpt);
    619620            return VINF_SUCCESS;
    620621        }
     
    725726            else
    726727                Event.n.u3Type = SVM_EVENT_EXCEPTION;
     728
     729            STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectXcpt);
    727730        }
    728731        else
     732        {
    729733            Event.n.u3Type = SVM_EVENT_EXTERNAL_IRQ;
    730 
    731         STAM_COUNTER_INC(&pVCpu->hm.s.StatIntInject);
     734            STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterrupt);
     735        }
     736
    732737        hmR0SvmInjectEvent(pVCpu, pVmcb, pCtx, &Event);
    733738    } /* if (interrupts can be dispatched) */
     
    22242229        goto ResumeExecution;
    22252230
     2231    case SVM_EXIT_INTR:         STAM_COUNTER_INC(&pVCpu->hm.s.StatExitExtInt);  /* no break */
    22262232    case SVM_EXIT_FERR_FREEZE:
    2227     case SVM_EXIT_INTR:
    22282233    case SVM_EXIT_NMI:
    22292234    case SVM_EXIT_SMI:
     
    28062811    if (exitCode == SVM_EXIT_INTR)
    28072812    {
    2808         STAM_COUNTER_INC(&pVCpu->hm.s.StatPendingHostIrq);
    28092813        /* On the next entry we'll only sync the host context. */
    28102814        pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_HOST_CONTEXT;
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