Changeset 45349 in vbox for trunk/src/VBox
- Timestamp:
- Apr 4, 2013 7:51:49 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45347 r45349 2981 2981 Assert(CPUMIsGuestDebugStateActive(pVCpu)); 2982 2982 Assert(fInterceptMovDRx == false); 2983 STAM_COUNTER_INC(&pVCpu->hm.s.StatDRxArmed); 2983 2984 } 2984 2985 else if ( CPUMGetHyperDR7(pVCpu) & (X86_DR7_ENABLED_MASK | X86_DR7_GD) … … 5548 5549 } 5549 5550 5550 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitch ToR3);5551 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchLongJmpToR3); 5551 5552 } 5552 5553 … … 5585 5586 /* Sync. the guest state. */ 5586 5587 hmR0VmxLongJmpToRing3(pVM, pVCpu, pMixedCtx, rcExit); 5587 5588 /* We're going back to ring-3, clear the flag that we need to go back to ring-3. */ 5588 STAM_COUNTER_DEC(&pVCpu->hm.s.StatSwitchLongJmpToR3); 5589 5589 5590 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_TO_R3); 5590 5591 /* Signal changes to the recompiler. */5592 5591 CPUMSetChangedFlags(pVCpu, CPUM_CHANGED_SYSENTER_MSR 5593 5592 | CPUM_CHANGED_LDTR … … 5604 5603 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_HOST_CONTEXT | HM_CHANGED_ALL_GUEST; 5605 5604 5605 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchExitToR3); 5606 5606 VMMRZCallRing3Enable(pVCpu); 5607 5607 } -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r45305 r45349 582 582 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchGuestIrq, "/HM/CPU%d/Switch/IrqPending"); 583 583 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchHmToR3FF, "/HM/CPU%d/Switch/HmToR3FF"); 584 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchToR3, "/HM/CPU%d/Switch/ToR3"); 584 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchExitToR3, "/HM/CPU%d/Switch/ExitToR3"); 585 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchLongJmpToR3, "/HM/CPU%d/Switch/LongJmpToR3"); 585 586 586 587 HM_REG_COUNTER(&pVCpu->hm.s.StatIntInject, "/HM/CPU%d/Irq/Inject"); -
trunk/src/VBox/VMM/include/HMInternal.h
r45235 r45349 882 882 STAMCOUNTER StatSwitchGuestIrq; 883 883 STAMCOUNTER StatSwitchHmToR3FF; 884 STAMCOUNTER StatSwitchToR3; 884 STAMCOUNTER StatSwitchExitToR3; 885 STAMCOUNTER StatSwitchLongJmpToR3; 885 886 886 887 STAMCOUNTER StatTscOffset;
Note:
See TracChangeset
for help on using the changeset viewer.