VirtualBox

Changeset 22510 in vbox


Ignore:
Timestamp:
Aug 27, 2009 12:01:45 PM (15 years ago)
Author:
vboxsync
Message:

More statistics

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

Legend:

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

    r22473 r22510  
    18601860    /** Times we've called pgmPoolAddDirtyPage. */
    18611861    STAMCOUNTER                 StatDirtyPage;
     1862    /** Times we've had to flush duplicates for dirty page management. */
     1863    STAMCOUNTER                 StatDirtyPageDupFlush;
    18621864
    18631865    /** The high wather mark for cModifiedPages. */
  • trunk/src/VBox/VMM/PGMPool.cpp

    r22473 r22510  
    364364    STAM_REG(pVM, &pPool->StatResetDirtyPages,          STAMTYPE_COUNTER,   "/PGM/Pool/Monitor/Dirty/Resets",       STAMUNIT_OCCURENCES,     "Times we've called pgmPoolResetDirtyPages (and there were dirty page).");
    365365    STAM_REG(pVM, &pPool->StatDirtyPage,                STAMTYPE_COUNTER,   "/PGM/Pool/Monitor/Dirty/Pages",        STAMUNIT_OCCURENCES,     "Times we've called pgmPoolAddDirtyPage.");
     366    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.");
    366367   
    367368# endif
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22507 r22510  
    13061306                if (pPageHead != pPage)
    13071307                {
     1308                    STAM_COUNTER_INC(&pPool->StatDirtyPageDupFlush);
    13081309                    Log(("Flush duplicate page idx=%d GCPhys=%RGp type=%s\n", pPageHead->idx, pPageHead->GCPhys, pgmPoolPoolKindToStr(pPageHead->enmKind)));
    13091310                    int rc2 = pgmPoolFlushPage(pPool, pPageHead);
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