VirtualBox

Changeset 30815 in vbox


Ignore:
Timestamp:
Jul 14, 2010 10:04:14 AM (15 years ago)
Author:
vboxsync
Message:

Release stats

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

Legend:

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

    r30814 r30815  
    15851585    STAM_REL_REG(pVM, &pPGM->ChunkR3Map.c,                       STAMTYPE_U32,     "/PGM/ChunkR3Map/c",                  STAMUNIT_COUNT,     "Number of mapped chunks.");
    15861586    STAM_REL_REG(pVM, &pPGM->ChunkR3Map.cMax,                    STAMTYPE_U32,     "/PGM/ChunkR3Map/cMax",               STAMUNIT_COUNT,     "Maximum number of mapped chunks.");
     1587    STAM_REL_REG(pVM, &pPGM->cMappedChunks,                      STAMTYPE_U32,     "/PGM/Chunk/Map",                     STAMUNIT_COUNT,     "Number of times we mapped a chunk.");
     1588    STAM_REL_REG(pVM, &pPGM->cUnmappedChunks,                    STAMTYPE_U32,     "/PGM/Chunk/Unmap",                   STAMUNIT_COUNT,     "Number of times we unmapped a chunk.");
    15871589
    15881590    STAM_REL_REG(pVM, &pPGM->StatLargePageAlloc,                 STAMTYPE_COUNTER, "/PGM/LargePage/Alloc",               STAMUNIT_OCCURENCES, "The number of large pages we've used.");
  • trunk/src/VBox/VMM/PGMInternal.h

    r30813 r30815  
    27962796    uint32_t                        cReadLockedPages;   /**< The number of read locked pages. */
    27972797    uint32_t                        cBalloonedPages;    /**< The number of ballooned pages. */
     2798    uint32_t                        cMappedChunks;      /**< Number of times we mapped a chunk. */
     2799    uint32_t                        cUnmappedChunks;    /**< Number of times we unmapped a chunk. */
    27982800/*    uint32_t                        aAlignment4[1]; */
    27992801
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r30814 r30815  
    33823382#endif
    33833383            pVM->pgm.s.ChunkR3Map.c--;
     3384            pVM->pgm.s.cUnmappedChunks++;
    33843385
    33853386            /* Flush dangling PGM pointers (R3 & R0 ptrs to GC physical addresses) */
     
    34143415
    34153416            /* Flush the pgm pool cache; call the internal rendezvous handler as we're already in a rendezvous handler here. */
     3417            /* todo: also not really efficient to unmap a chunk that contains PD or PT pages. */
    34163418            pgmR3PoolClearAllRendezvous(pVM, &pVM->aCpus[0], false /* no need to flush the REM TLB as we already did that above */);
    34173419        }
     
    34903492        AssertRelease(fRc);
    34913493        pVM->pgm.s.ChunkR3Map.c++;
     3494        pVM->pgm.s.cMappedChunks++;
    34923495
    34933496        fRc = RTAvllU32Insert(&pVM->pgm.s.ChunkR3Map.pAgeTree, &pChunk->AgeCore);
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