- Timestamp:
- Nov 2, 2021 1:48:55 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp
r92170 r92177 1389 1389 STAMR3Register(pVM, &pVM->nem.s.StatProfUnmapGpaRange, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, 1390 1390 "/NEM/PagesUnmapGpaRange", STAMUNIT_TICKS_PER_CALL, "Profiling calls to WHvUnmapGpaRange for bigger stuff"); 1391 STAMR3Register(pVM, &pVM->nem.s.StatProfQueryGpaRangeDirtyBitmap, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS,1392 "/NEM/PagesQueryGpaRangeDirtyBitmap", STAMUNIT_TICKS_PER_CALL, "Profiling calls to WHvQueryGpaRangeDirtyBitmap (MMIO2/VRAM)");1393 1391 # endif 1394 1392 # ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES … … 2187 2185 RT_NOREF(uNemRange); 2188 2186 2189 STAM_REL_PROFILE_START(&pVM->nem.s.StatProfQueryGpaRangeDirtyBitmap, a);2187 /* This is being profiled by PGM, see /PGM/Mmio2QueryAndResetDirtyBitmap. */ 2190 2188 HRESULT hrc = WHvQueryGpaRangeDirtyBitmap(pVM->nem.s.hPartition, GCPhys, cb, (UINT64 *)pvBitmap, (uint32_t)cbBitmap); 2191 STAM_REL_PROFILE_STOP(&pVM->nem.s.StatProfQueryGpaRangeDirtyBitmap, a);2192 2189 if (SUCCEEDED(hrc)) 2193 2190 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r92162 r92177 1187 1187 1188 1188 STAM_REL_REG(pVM, &pPGM->StatShModCheck, STAMTYPE_PROFILE, "/PGM/ShMod/Check", STAMUNIT_TICKS_PER_CALL, "Profiles the shared module checking."); 1189 STAM_REL_REG(pVM, &pPGM->StatMmio2QueryAndResetDirtyBitmap, STAMTYPE_PROFILE, "/PGM/Mmio2QueryAndResetDirtyBitmap", STAMUNIT_TICKS_PER_CALL, "Profiles calls to PGMR3PhysMmio2QueryAndResetDirtyBitmap (sans locking)."); 1189 1190 1190 1191 /* Live save */ -
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r92170 r92177 4039 4039 if (RT_SUCCESS(rc)) 4040 4040 { 4041 STAM_PROFILE_START(&pVM->pgm.s.StatMmio2QueryAndResetDirtyBitmap, a); 4041 4042 rc = pgmR3PhysMmio2QueryAndResetDirtyBitmapLocked(pVM, pDevIns, hMmio2, pvBitmap, cbBitmap); 4043 STAM_PROFILE_STOP(&pVM->pgm.s.StatMmio2QueryAndResetDirtyBitmap, a); 4042 4044 PGM_UNLOCK(pVM); 4043 4045 } -
trunk/src/VBox/VMM/include/NEMInternal.h
r92170 r92177 220 220 STAMPROFILE StatProfMapGpaRange; 221 221 STAMPROFILE StatProfUnmapGpaRange; 222 STAMPROFILE StatProfQueryGpaRangeDirtyBitmap;223 222 # endif 224 223 # ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES -
trunk/src/VBox/VMM/include/PGMInternal.h
r92170 r92177 3282 3282 3283 3283 STAMPROFILE StatShModCheck; /**< Profiles shared module checks. */ 3284 3285 STAMPROFILE StatMmio2QueryAndResetDirtyBitmap; /**< Profiling PGMR3PhysMmio2QueryAndResetDirtyBitmap. */ 3284 3286 /** @} */ 3285 3287
Note:
See TracChangeset
for help on using the changeset viewer.