Changeset 104941 in vbox
- Timestamp:
- Jun 17, 2024 1:14:56 PM (8 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r104933 r104941 5975 5975 size_t cbMem, RTGCPTR GCPtrFirst, uint32_t fAccess) 5976 5976 { 5977 STAM_COUNTER_INC(&pVCpu->iem.s.StatMemBounceBufferCrossPage); 5977 5978 Assert(cbMem <= GUEST_PAGE_SIZE); 5978 5979 … … 6111 6112 RTGCPHYS GCPhysFirst, uint32_t fAccess, VBOXSTRICTRC rcMap) 6112 6113 { 6114 STAM_COUNTER_INC(&pVCpu->iem.s.StatMemBounceBufferMapPhys); 6115 6113 6116 /* 6114 6117 * Filter out conditions we can handle and the ones which shouldn't happen. … … 6234 6237 uint32_t fAccess, uint32_t uAlignCtl) RT_NOEXCEPT 6235 6238 { 6239 STAM_COUNTER_INC(&pVCpu->iem.s.StatMemMapNoJmp); 6240 6236 6241 /* 6237 6242 * Check the input and figure out which mapping entry to use. … … 6617 6622 uint32_t uAlignCtl) IEM_NOEXCEPT_MAY_LONGJMP 6618 6623 { 6624 STAM_COUNTER_INC(&pVCpu->iem.s.StatMemMapJmp); 6625 6619 6626 /* 6620 6627 * Check the input, check segment access and adjust address -
trunk/src/VBox/VMM/VMMR3/IEMR3.cpp
r104468 r104941 730 730 731 731 # endif /* VBOX_WITH_IEM_NATIVE_RECOMPILER */ 732 733 734 # ifdef VBOX_WITH_STATISTICS 735 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatMemMapJmp, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 736 "iemMemMapJmp calls", "/IEM/CPU%u/iemMemMapJmp", idCpu); 737 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatMemMapNoJmp, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 738 "iemMemMap calls", "/IEM/CPU%u/iemMemMapNoJmp", idCpu); 739 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatMemBounceBufferCrossPage, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 740 "iemMemBounceBufferMapCrossPage calls", "/IEM/CPU%u/iemMemMapBounceBufferCrossPage", idCpu); 741 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatMemBounceBufferMapPhys, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 742 "iemMemBounceBufferMapPhys calls", "/IEM/CPU%u/iemMemMapBounceBufferMapPhys", idCpu); 743 # endif 744 732 745 733 746 #endif /* VBOX_WITH_IEM_RECOMPILER */ -
trunk/src/VBox/VMM/include/IEMInternal.h
r104932 r104941 2141 2141 /** @} */ 2142 2142 2143 uint64_t au64Padding[5]; 2143 /** iemMemMap and iemMemMapJmp statistics. 2144 * @{ */ 2145 STAMCOUNTER StatMemMapJmp; 2146 STAMCOUNTER StatMemMapNoJmp; 2147 STAMCOUNTER StatMemBounceBufferCrossPage; 2148 STAMCOUNTER StatMemBounceBufferMapPhys; 2149 /** @} */ 2150 2151 uint64_t au64Padding[1]; 2144 2152 /** @} */ 2145 2153
Note:
See TracChangeset
for help on using the changeset viewer.