VirtualBox

Changeset 22783 in vbox


Ignore:
Timestamp:
Sep 4, 2009 2:12:08 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51966
Message:

More stats

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r22775 r22783  
    18641864    /** Times we've had to flush duplicates for dirty page management. */
    18651865    STAMCOUNTER                 StatDirtyPageDupFlush;
     1866    /** Times we've had to flush because of overflow. */
     1867    STAMCOUNTER                 StatDirtyPageOverFlowFlush;
    18661868
    18671869    /** The high wather mark for cModifiedPages. */
  • trunk/src/VBox/VMM/PGMPool.cpp

    r22775 r22783  
    382382    STAM_REG(pVM, &pPool->StatDirtyPage,                STAMTYPE_COUNTER,   "/PGM/Pool/Monitor/Dirty/Pages",        STAMUNIT_OCCURENCES,     "Times we've called pgmPoolAddDirtyPage.");
    383383    STAM_REG(pVM, &pPool->StatDirtyPageDupFlush,        STAMTYPE_COUNTER,   "/PGM/Pool/Monitor/Dirty/FlushDup",     STAMUNIT_OCCURENCES,     "Times we've had to flush duplicates for dirty page management.");
     384    STAM_REG(pVM, &pPool->StatDirtyPageOverFlowFlush,   STAMTYPE_COUNTER,   "/PGM/Pool/Monitor/Dirty/FlushOverflow",STAMUNIT_OCCURENCES,     "Times we've had to flush because of overflow.");
    384385   
    385386# endif
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22775 r22783  
    16011601
    16021602    if (pPool->cDirtyPages >= RT_ELEMENTS(pPool->aIdxDirtyPages))
     1603    {
     1604        STAM_COUNTER_INC(&pPool->StatDirtyPageOverFlowFlush);
    16031605        pgmPoolFlushDirtyPage(pVM, pPool, idxFree, true /* force removal */);
     1606    }
    16041607    Assert(pPool->cDirtyPages < RT_ELEMENTS(pPool->aIdxDirtyPages));
    16051608    AssertMsg(pPool->aIdxDirtyPages[idxFree] == NIL_PGMPOOL_IDX, ("idxFree=%d cDirtyPages=%d\n", idxFree, pPool->cDirtyPages));
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