VirtualBox

Changeset 22713 in vbox for trunk


Ignore:
Timestamp:
Sep 2, 2009 12:14:30 PM (15 years ago)
Author:
vboxsync
Message:

Stats

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

Legend:

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

    r22709 r22713  
    17971797    /** Counting explicit flushes by PGMPoolFlushPage(). */
    17981798    STAMCOUNTER                 StatForceFlushPage;
     1799    /** Counting explicit flushes of dirty pages by PGMPoolFlushPage(). */
     1800    STAMCOUNTER                 StatForceFlushDirtyPage;
    17991801    /** Profiling time spent zeroing pages. */
    18001802    STAMPROFILE                 StatZeroPage;
  • trunk/src/VBox/VMM/PGMPool.cpp

    r22695 r22713  
    326326    STAM_REG(pVM, &pPool->StatFree,                     STAMTYPE_PROFILE,   "/PGM/Pool/Free",           STAMUNIT_TICKS_PER_CALL,    "Profiling of pgmPoolFree.");
    327327    STAM_REG(pVM, &pPool->StatForceFlushPage,           STAMTYPE_COUNTER,   "/PGM/Pool/FlushForce",     STAMUNIT_OCCURENCES,        "Counting explicit flushes by PGMPoolFlushPage().");   
     328    STAM_REG(pVM, &pPool->StatForceFlushDirtyPage,      STAMTYPE_COUNTER,   "/PGM/Pool/FlushForceDirty",     STAMUNIT_OCCURENCES,   "Counting explicit flushes of dirty pages by PGMPoolFlushPage().");   
    328329    STAM_REG(pVM, &pPool->StatZeroPage,                 STAMTYPE_PROFILE,   "/PGM/Pool/ZeroPage",       STAMUNIT_TICKS_PER_CALL,    "Profiling time spent zeroing pages. Overlaps with Alloc.");
    329330# ifdef PGMPOOL_WITH_USER_TRACKING
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22712 r22713  
    47824782                {
    47834783                    Log(("PGMPoolFlushPage: found pgm pool pages for %RGp\n", GCPhys));
    4784                     STAM_COUNTER_INC(&pPool->StatForceFlushPage);
     4784#ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
     4785                    if (pPage->fDirty)
     4786                        STAM_COUNTER_INC(&pPool->StatForceFlushDirtyPage);
     4787                    else
     4788#endif
     4789                        STAM_COUNTER_INC(&pPool->StatForceFlushPage);
    47854790                    Assert(!pgmPoolIsPageLocked(&pVM->pgm.s, pPage));
    47864791                    pgmPoolMonitorChainFlush(pPool, pPage);
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