VirtualBox

Changeset 14861 in vbox for trunk


Ignore:
Timestamp:
Dec 1, 2008 2:13:45 PM (16 years ago)
Author:
vboxsync
Message:

PGMR0DynMap: disabled expensive statistic.

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

Legend:

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

    r14857 r14861  
    16071607    STAM_REG(pVM, &pPGM->StatR0DynMapPageSlowLoopHits,      STAMTYPE_COUNTER, "/PGM/R0/DynMapPage/SlowLoopHits" ,   STAMUNIT_OCCURENCES,     "Hits in the loop path.");
    16081608    STAM_REG(pVM, &pPGM->StatR0DynMapPageSlowLoopMisses,    STAMTYPE_COUNTER, "/PGM/R0/DynMapPage/SlowLoopMisses",  STAMUNIT_OCCURENCES,     "Misses in the loop path. NonLoopMisses = Slow - SlowLoopHit - SlowLoopMisses");
    1609     STAM_REG(pVM, &pPGM->StatR0DynMapPageSlowLostHits,      STAMTYPE_COUNTER, "/PGM/R0/DynMapPage/SlowLostHits",    STAMUNIT_OCCURENCES,     "Lost hits.");
     1609    //STAM_REG(pVM, &pPGM->StatR0DynMapPageSlowLostHits,      STAMTYPE_COUNTER, "/PGM/R0/DynMapPage/SlowLostHits",    STAMUNIT_OCCURENCES,     "Lost hits.");
    16101610
    16111611    /* GC only: */
  • trunk/src/VBox/VMM/PGMInternal.h

    r14857 r14861  
    25712571    STAMCOUNTER StatR0DynMapPageSlowLoopHits;       /**< R0: Hits in the pgmR0DynMapPageSlow search loop. */
    25722572    STAMCOUNTER StatR0DynMapPageSlowLoopMisses;     /**< R0: Misses in the pgmR0DynMapPageSlow search loop. */
    2573     STAMCOUNTER StatR0DynMapPageSlowLostHits;       /**< R0: Lost hits. */
     2573    //STAMCOUNTER StatR0DynMapPageSlowLostHits;       /**< R0: Lost hits. */
    25742574
    25752575    /* RC only: */
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r14857 r14861  
    12211221    Assert(iFreePage < cPages);
    12221222
    1223 #ifdef VBOX_WITH_STATISTICS
     1223#if 0 //def VBOX_WITH_STATISTICS
    12241224    /* Check for lost hits. */
    12251225    if (!fLooped)
     
    16431643
    16441644
    1645 /* documented elsewhere - a bit of a mess. */
     1645/* documented elsewhere - a bit of a mess.
     1646   This is a VERY hot path. */
    16461647VMMDECL(int) PGMDynMapHCPage(PVM pVM, RTHCPHYS HCPhys, void **ppv)
    16471648{
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