Changeset 2699 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 17, 2007 3:18:06 PM (18 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r2555 r2699 219 219 } 220 220 } 221 pVM->hwaccm.s.pStatExitReasonR0 = MMHyperR3ToR0(pVM, pVM->hwaccm.s.pStatExitReason); 222 Assert(pVM->hwaccm.s.pStatExitReasonR0); 221 223 #endif 222 224 -
trunk/src/VBox/VMM/HWACCMInternal.h
r2555 r2699 286 286 STAMCOUNTER StatSwitchToR3; 287 287 288 PSTAMCOUNTER pStatExitReason; 288 R3PTRTYPE(PSTAMCOUNTER) pStatExitReason; 289 R0PTRTYPE(PSTAMCOUNTER) pStatExitReasonR0; 289 290 } HWACCM; 290 291 /** Pointer to HWACCM VM instance data. */ -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r2556 r2699 821 821 pVM->hwaccm.s.Event.errCode = 0; 822 822 } 823 STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReason [exitCode & MASK_EXITREASON_STAT]);823 STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReasonR0[exitCode & MASK_EXITREASON_STAT]); 824 824 825 825 /* Deal with the reason of the VM-exit. */ -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r2556 r2699 1105 1105 /* Investigate why there was a VM-exit. */ 1106 1106 rc = VMXReadVMCS(VMX_VMCS_RO_EXIT_REASON, &exitReason); 1107 STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReason [exitReason & MASK_EXITREASON_STAT]);1107 STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReasonR0[exitReason & MASK_EXITREASON_STAT]); 1108 1108 1109 1109 exitReason &= 0xffff; /* bit 0-15 contain the exit code. */
Note:
See TracChangeset
for help on using the changeset viewer.