VirtualBox

Changeset 15858 in vbox


Ignore:
Timestamp:
Jan 8, 2009 11:56:52 AM (16 years ago)
Author:
vboxsync
Message:

More statistics

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

Legend:

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

    r15856 r15858  
    286286                             "/PROF/HWACCM/CPU%d/Switcher3264", i);
    287287        AssertRC(rc);
     288        HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatTimeoutResume,           "/HWACCM/CPU%d/Timeout/Resume");
     289        HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatTimeoutSwitcher3264,     "/HWACCM/CPU%d/Timeout/Switcher3264");
    288290# endif
    289291
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r15853 r15858  
    616616    STAMCOUNTER             StatDRxIOCheck;
    617617
     618    STAMCOUNTER             StatTimeoutSwitcher3264;
     619    STAMCOUNTER             StatTimeoutResume;
    618620
    619621    R3PTRTYPE(PSTAMCOUNTER) paStatExitReason;
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r15857 r15858  
    19891989    {
    19901990        LogFlow(("delta %VX64\n", RTTimeNanoTS() - pVCpu->hwaccm.s.u64TimeEntry));
     1991        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatTimeoutResume);
    19911992        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitMaxResume);
    19921993        rc = VINF_EM_RAW_INTERRUPT;
     
    36123613        &&  RTTimeNanoTS() - pVCpu->hwaccm.s.u64TimeEntry >= 2000000)
    36133614    {
     3615        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatTimeoutSwitcher3264);
    36143616        LogFlow(("delta (2) %VX64\n", RTTimeNanoTS() - pVCpu->hwaccm.s.u64TimeEntry));
    36153617        return VINF_VMX_PREEMPT_PENDING;
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