VirtualBox

Changeset 20330 in vbox


Ignore:
Timestamp:
Jun 5, 2009 1:25:55 PM (16 years ago)
Author:
vboxsync
Message:

Missing profile stop calls

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

Legend:

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

    r20328 r20330  
    17221722                rc = IOMMMIOPhysHandler(pVM, errCode, CPUMCTX2CORE(pCtx), uFaultAddress);
    17231723                if (rc == VINF_SUCCESS)
     1724                {
     1725                    STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatExit1, x);
    17241726                    goto ResumeExecution;   /* rip already updated */
     1727                }
    17251728            }
    17261729        }
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r20317 r20330  
    34803480        LogFlow(("VMX_EXIT_TPR\n"));
    34813481        /* RIP is already set to the next instruction and the TPR has been synced back. Just resume. */
     3482        STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatExit2Sub1, y1);
    34823483        goto ResumeExecution;
    34833484
     
    35003501            rc = IOMMMIOPhysHandler(pVM, (uAccessType == VMX_APIC_ACCESS_TYPE_LINEAR_READ) ? 0 : X86_TRAP_PF_RW, CPUMCTX2CORE(pCtx), GCPhys);
    35013502            if (rc == VINF_SUCCESS)
     3503            {
     3504                STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatExit2Sub1, y1);
    35023505                goto ResumeExecution;   /* rip already updated */
    3503 
     3506            }
    35043507            break;
    35053508        }
     
    35133516
    35143517    case VMX_EXIT_PREEMPTION_TIMER:     /* 52 VMX-preemption timer expired. The preemption timer counted down to zero. */
     3518        STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatExit2Sub1, y1);
    35153519        goto ResumeExecution;
    35163520
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