VirtualBox

Changeset 60732 in vbox for trunk/src


Ignore:
Timestamp:
Apr 28, 2016 10:29:17 AM (9 years ago)
Author:
vboxsync
Message:

VMM/HM: Add stat. counter for intr masked-by-TPR during event injection.

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

Legend:

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

    r60730 r60732  
    26872687                 * always via hmR0SvmLoadGuestState() -> hmR0SvmLoadGuestApicState().
    26882688                 */
     2689                STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchTprMaskedIrq);
    26892690            }
    26902691            else
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r60730 r60732  
    74607460                if (pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_USE_TPR_SHADOW)
    74617461                    hmR0VmxApicSetTprThreshold(pVCpu, u8Interrupt >> 4);
     7462                STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchTprMaskedIrq);
    74627463            }
    74637464            else
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r60406 r60732  
    827827        HM_REG_COUNTER(&pVCpu->hm.s.StatExitApicAccess,         "/HM/CPU%d/Exit/ApicAccess", "APIC access. Guest attempted to access memory at a physical address on the APIC-access page.");
    828828
     829        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchTprMaskedIrq,     "/HM/CPU%d/Switch/TprMaskedIrq", "PDMGetInterrupt() signals TPR masks pending Irq.");
    829830        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchGuestIrq,         "/HM/CPU%d/Switch/IrqPending", "PDMGetInterrupt() cleared behind our back!?!.");
    830831        HM_REG_COUNTER(&pVCpu->hm.s.StatPendingHostIrq,         "/HM/CPU%d/Switch/PendingHostIrq", "Exit to ring-3 due to pending host interrupt before executing guest code.");
  • trunk/src/VBox/VMM/include/HMInternal.h

    r60307 r60732  
    10041004    STAMCOUNTER             StatTlbShootdownFlush;
    10051005
     1006    STAMCOUNTER             StatSwitchTprMaskedIrq;
    10061007    STAMCOUNTER             StatSwitchGuestIrq;
    10071008    STAMCOUNTER             StatSwitchHmToR3FF;
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