Changeset 30815 in vbox
- Timestamp:
- Jul 14, 2010 10:04:14 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r30814 r30815 1585 1585 STAM_REL_REG(pVM, &pPGM->ChunkR3Map.c, STAMTYPE_U32, "/PGM/ChunkR3Map/c", STAMUNIT_COUNT, "Number of mapped chunks."); 1586 1586 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."); 1587 1589 1588 1590 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 2796 2796 uint32_t cReadLockedPages; /**< The number of read locked pages. */ 2797 2797 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. */ 2798 2800 /* uint32_t aAlignment4[1]; */ 2799 2801 -
trunk/src/VBox/VMM/PGMPhys.cpp
r30814 r30815 3382 3382 #endif 3383 3383 pVM->pgm.s.ChunkR3Map.c--; 3384 pVM->pgm.s.cUnmappedChunks++; 3384 3385 3385 3386 /* Flush dangling PGM pointers (R3 & R0 ptrs to GC physical addresses) */ … … 3414 3415 3415 3416 /* 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. */ 3416 3418 pgmR3PoolClearAllRendezvous(pVM, &pVM->aCpus[0], false /* no need to flush the REM TLB as we already did that above */); 3417 3419 } … … 3490 3492 AssertRelease(fRc); 3491 3493 pVM->pgm.s.ChunkR3Map.c++; 3494 pVM->pgm.s.cMappedChunks++; 3492 3495 3493 3496 fRc = RTAvllU32Insert(&pVM->pgm.s.ChunkR3Map.pAgeTree, &pChunk->AgeCore);
Note:
See TracChangeset
for help on using the changeset viewer.