VirtualBox

Changeset 44259 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jan 9, 2013 11:02:53 AM (12 years ago)
Author:
vboxsync
Message:

VMM: STAM counter naming.

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

Legend:

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

    r44154 r44259  
    43644364            {
    43654365                Log2(("VMX: lmsw %x\n", VMX_EXIT_QUALIFICATION_CRX_LMSW_DATA(exitQualification)));
    4366                 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitLMSW);
     4366                STAM_COUNTER_INC(&pVCpu->hm.s.StatExitLmsw);
    43674367                rc = EMInterpretLMSW(pVM, pVCpu, CPUMCTX2CORE(pCtx), VMX_EXIT_QUALIFICATION_CRX_LMSW_DATA(exitQualification));
    43684368                pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_CR0;
     
    46264626    }
    46274627
    4628     case VMX_EXIT_TPR:                  /* 43 TPR below threshold. Guest software executed MOV to CR8. */
    4629         LogFlow(("VMX_EXIT_TPR\n"));
     4628    case VMX_EXIT_TPR_BELOW_THRESHOLD:  /* 43 TPR below threshold. Guest software executed MOV to CR8. */
     4629        LogFlow(("VMX_EXIT_TPR_BELOW_THRESHOLD\n"));
    46304630        /* RIP is already set to the next instruction and the TPR has been synced back. Just resume. */
    46314631        goto ResumeExecution;
     
    48054805        break;
    48064806
    4807     case VMX_EXIT_TPR:                  /* 43 TPR below threshold. Guest software executed MOV to CR8. */
     4807    case VMX_EXIT_TPR_BELOW_THRESHOLD:  /* 43 TPR below threshold. Guest software executed MOV to CR8. */
    48084808    case VMX_EXIT_RDMSR:                /* 31 RDMSR. Guest software attempted to execute RDMSR. */
    48094809    case VMX_EXIT_WRMSR:                /* 32 WRMSR. Guest software attempted to execute WRMSR. */
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r44251 r44259  
    523523        HM_REG_COUNTER(&pVCpu->hm.s.StatExitInvd,               "/HM/CPU%d/Exit/Instr/Invd");
    524524        HM_REG_COUNTER(&pVCpu->hm.s.StatExitWbinvd,             "/HM/CPU%d/Exit/Instr/Wbinvd");
     525        HM_REG_COUNTER(&pVCpu->hm.s.StatExitPause,              "/HM/CPU%d/Exit/Instr/Pause");
    525526        HM_REG_COUNTER(&pVCpu->hm.s.StatExitCpuid,              "/HM/CPU%d/Exit/Instr/Cpuid");
    526527        HM_REG_COUNTER(&pVCpu->hm.s.StatExitRdtsc,              "/HM/CPU%d/Exit/Instr/Rdtsc");
     
    535536        HM_REG_COUNTER(&pVCpu->hm.s.StatExitDRxRead,            "/HM/CPU%d/Exit/Instr/DR/Read");
    536537        HM_REG_COUNTER(&pVCpu->hm.s.StatExitClts,               "/HM/CPU%d/Exit/Instr/CLTS");
    537         HM_REG_COUNTER(&pVCpu->hm.s.StatExitLMSW,               "/HM/CPU%d/Exit/Instr/LMSW");
     538        HM_REG_COUNTER(&pVCpu->hm.s.StatExitLmsw,               "/HM/CPU%d/Exit/Instr/LMSW");
    538539        HM_REG_COUNTER(&pVCpu->hm.s.StatExitCli,                "/HM/CPU%d/Exit/Instr/Cli");
    539540        HM_REG_COUNTER(&pVCpu->hm.s.StatExitSti,                "/HM/CPU%d/Exit/Instr/Sti");
     
    552553        HM_REG_COUNTER(&pVCpu->hm.s.StatExitPreemptPending,     "/HM/CPU%d/Exit/PreemptPending");
    553554        HM_REG_COUNTER(&pVCpu->hm.s.StatExitPreemptTimer,       "/HM/CPU%d/Exit/PreemptTimer");
     555        HM_REG_COUNTER(&pVCpu->hm.s.StatExitTprBelowThreshold,  "/HM/CPU%d/Exit/TprBelowThreshold");
    554556        HM_REG_COUNTER(&pVCpu->hm.s.StatExitMtf,                "/HM/CPU%d/Exit/MonitorTrapFlag");
    555557
  • trunk/src/VBox/VMM/include/HMInternal.h

    r44251 r44259  
    756756    STAMCOUNTER             StatExitInvd;
    757757    STAMCOUNTER             StatExitWbinvd;
     758    STAMCOUNTER             StatExitPause;
    758759    STAMCOUNTER             StatExitCpuid;
    759760    STAMCOUNTER             StatExitRdtsc;
     
    778779    STAMCOUNTER             StatExitMwait;
    779780    STAMCOUNTER             StatExitMonitor;
    780     STAMCOUNTER             StatExitLMSW;
     781    STAMCOUNTER             StatExitLmsw;
    781782    STAMCOUNTER             StatExitIOWrite;
    782783    STAMCOUNTER             StatExitIORead;
     
    787788    STAMCOUNTER             StatExitPreemptPending;
    788789    STAMCOUNTER             StatExitPreemptTimer;
     790    STAMCOUNTER             StatExitTprBelowThreshold;
    789791    STAMCOUNTER             StatExitMtf;
    790792    STAMCOUNTER             StatIntReinject;
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