VirtualBox

Changeset 29576 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 17, 2010 4:31:12 PM (15 years ago)
Author:
vboxsync
Message:

Stats

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

Legend:

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

    r28800 r29576  
    15641564    STAM_REL_REG(pVM, &pPGM->cPrivatePages,                      STAMTYPE_U32,     "/PGM/Page/cPrivatePages",            STAMUNIT_COUNT,     "The number of private pages.");
    15651565    STAM_REL_REG(pVM, &pPGM->cSharedPages,                       STAMTYPE_U32,     "/PGM/Page/cSharedPages",             STAMUNIT_COUNT,     "The number of shared pages.");
     1566    STAM_REL_REG(pVM, &pPGM->cReusedSharedPages,                 STAMTYPE_U32,     "/PGM/Page/cReusedSharedPages",       STAMUNIT_COUNT,     "The number of reused shared pages.");
    15661567    STAM_REL_REG(pVM, &pPGM->cZeroPages,                         STAMTYPE_U32,     "/PGM/Page/cZeroPages",               STAMUNIT_COUNT,     "The number of zero backed pages.");
    15671568    STAM_REL_REG(pVM, &pPGM->cPureMmioPages,                     STAMTYPE_U32,     "/PGM/Page/cPureMmioPages",           STAMUNIT_COUNT,     "The number of pure MMIO pages.");
  • trunk/src/VBox/VMM/PGMInternal.h

    r28800 r29576  
    28052805    uint32_t                        cPrivatePages;      /**< The number of private pages. */
    28062806    uint32_t                        cSharedPages;       /**< The number of shared pages. */
     2807    uint32_t                        cReusedSharedPages; /**< The number of reused shared pages. */
    28072808    uint32_t                        cZeroPages;         /**< The number of zero backed pages. */
    28082809    uint32_t                        cPureMmioPages;     /**< The number of pure MMIO pages. */
  • trunk/src/VBox/VMM/VMMR0/PGMR0SharedPage.cpp

    r29570 r29576  
    154154                        /* Invalidate page map TLB entry for this page too. */
    155155                        PGMPhysInvalidatePageMapTLBEntry(pVM, paPageDesc[i].GCPhys);
     156                        pVM->pgm.s.cReusedSharedPages++;
    156157                    }
    157158                    /* else nothing changed (== this page is now a shared page), so no need to flush anything. */
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