Changeset 92385 in vbox
- Timestamp:
- Nov 11, 2021 11:54:29 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PGMR0.cpp
r92383 r92385 304 304 int pgmR0PhysAllocateLargePage(PGVM pGVM, VMCPUID idCpu, RTGCPHYS GCPhys) 305 305 { 306 STAM_PROFILE_ADV_START(&pGVM->pgm.s.Stats.StatLargePageAlloc2, a); 306 307 PGM_LOCK_ASSERT_OWNER_EX(pGVM, &pGVM->aCpus[idCpu]); 307 308 … … 355 356 } 356 357 357 STAM_PROFILE_ START(&pGVM->pgm.s.Stats.StatLargePageSetup, b);358 STAM_PROFILE_ADV_STOP_START(&pGVM->pgm.s.Stats.StatLargePageAlloc2, &pGVM->pgm.s.Stats.StatLargePageSetup, a); 358 359 359 360 /* … … 415 416 pgmPhysInvalidatePageMapTLB(pGVM); 416 417 417 STAM_PROFILE_ STOP(&pGVM->pgm.s.Stats.StatLargePageSetup, b);418 STAM_PROFILE_ADV_STOP(&pGVM->pgm.s.Stats.StatLargePageSetup, a); 418 419 #if 0 /** @todo returning info statuses here might not be a great idea... */ 419 420 LogFlow(("PGMR0PhysAllocateLargePage: returns %Rrc\n", VBOXSTRICTRC_VAL(rc) )); -
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r92381 r92385 1213 1213 PGM_REG_COUNTER(&pPGM->StatLargePageZeroEvict, "/PGM/LargePage/ZeroEvict", "The number of zero page mappings we had to evict when allocating a large page."); 1214 1214 #ifdef VBOX_WITH_STATISTICS 1215 PGM_REG_PROFILE(&pStats->StatLargePageAlloc2, "/PGM/LargePage/Alloc2", "Time spent allocating large pages."); 1215 1216 PGM_REG_PROFILE(&pStats->StatLargePageSetup, "/PGM/LargePage/Setup", "Time spent setting up the newly allocated large pages."); 1216 1217 PGM_REG_PROFILE(&pStats->StatR3IsValidLargePage, "/PGM/LargePage/IsValidR3", "pgmPhysIsValidLargePage profiling - R3."); -
trunk/src/VBox/VMM/include/PGMInternal.h
r92381 r92385 3015 3015 STAMPROFILE StatTrackDeref; /**< Profiling of SyncPageWorkerTrackDeref (expensive). */ 3016 3016 3017 STAMPROFILE StatLargePageSetup; /**< Time spent setting up newly allocated large pages. */ 3017 STAMPROFILEADV StatLargePageAlloc2; /**< Time spent setting up newly allocated large pages. */ 3018 STAMPROFILEADV StatLargePageSetup; /**< Time spent setting up newly allocated large pages. */ 3018 3019 /** pgmPhysIsValidLargePage profiling - R3 */ 3019 3020 STAMPROFILE StatR3IsValidLargePage;
Note:
See TracChangeset
for help on using the changeset viewer.