VirtualBox

Changeset 30105 in vbox for trunk/src


Ignore:
Timestamp:
Jun 9, 2010 11:03:37 AM (15 years ago)
Author:
vboxsync
Message:

More stats

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r29737 r30105  
    550550        HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatDRxIOCheck,             "/HWACCM/CPU%d/Debug/IOCheck");
    551551
     552#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     553        HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatFpu64SwitchBack,        "/HWACCM/CPU%d/Switch64/Fpu");
     554        HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatDebug64SwitchBack,      "/HWACCM/CPU%d/Switch64/Debug");
     555#endif
     556
    552557        for (unsigned j=0;j<RT_ELEMENTS(pVCpu->hwaccm.s.StatExitCRxWrite);j++)
    553558        {
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r28800 r30105  
    852852    STAMCOUNTER             StatDRxIOCheck;
    853853
     854#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     855    STAMCOUNTER             StatFpu64SwitchBack;
     856    STAMCOUNTER             StatDebug64SwitchBack;
     857#endif
    854858
    855859#ifdef VBOX_WITH_STATISTICS
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r29250 r30105  
    12341234VMMR0DECL(int)   HWACCMR0SaveFPUState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
    12351235{
     1236    STAM_COUNTER_INC(&pVCpu->StatFpu64SwitchBack);
    12361237    if (pVM->hwaccm.s.vmx.fSupported)
    12371238        return VMXR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnSaveGuestFPU64, 0, NULL);
     
    12501251VMMR0DECL(int)   HWACCMR0SaveDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
    12511252{
     1253    STAM_COUNTER_INC(&pVCpu->StatDebug64SwitchBack);
    12521254    if (pVM->hwaccm.s.vmx.fSupported)
    12531255        return VMXR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnSaveGuestDebug64, 0, NULL);
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r30091 r30105  
    45864586    AssertReturn(pVM->cCpus == 1, VERR_TOO_MANY_CPUS);
    45874587    AssertReturn(pVM->hwaccm.s.pfnHost32ToGuest64R0, VERR_INTERNAL_ERROR);
     4588    Assert(pfnHandler);
    45884589    Assert(pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries <= RT_ELEMENTS(pVCpu->hwaccm.s.vmx.VMCSCache.Write.aField));
    45894590    Assert(pVCpu->hwaccm.s.vmx.VMCSCache.Read.cValidEntries <= RT_ELEMENTS(pVCpu->hwaccm.s.vmx.VMCSCache.Read.aField));
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