Changeset 73287 in vbox
- Timestamp:
- Jul 21, 2018 4:50:51 AM (7 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r73140 r73287 120 120 } 121 121 122 # ifdef VBOX_WITH_NESTED_HWVIRT_SVM122 # ifdef VBOX_WITH_NESTED_HWVIRT_SVM 123 123 /** 124 124 * Notification callback for when a \#VMEXIT happens outside SVM R0 code (e.g. … … 172 172 ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_ALL_GUEST); 173 173 } 174 # endif174 # endif 175 175 176 176 /** -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r73280 r73287 4380 4380 ASMSetFlags(pSvmTransient->fEFlags); 4381 4381 VMMRZCallRing3Enable(pVCpu); 4382 STAM_COUNTER_INC(&pVCpu->hm.s.Stat PendingHostIrq);4382 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchPendingHostIrq); 4383 4383 return VINF_EM_RAW_INTERRUPT; 4384 4384 } … … 4493 4493 ASMSetFlags(pSvmTransient->fEFlags); 4494 4494 VMMRZCallRing3Enable(pVCpu); 4495 STAM_COUNTER_INC(&pVCpu->hm.s.Stat PendingHostIrq);4495 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchPendingHostIrq); 4496 4496 return VINF_EM_RAW_INTERRUPT; 4497 4497 } -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73280 r73287 8334 8334 } 8335 8335 8336 STAM_COUNTER_INC(&pVCpu->hm.s.Stat PendingHostIrq);8336 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchPendingHostIrq); 8337 8337 rcStrict = VINF_EM_RAW_INTERRUPT; 8338 8338 } -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r73274 r73287 1001 1001 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchTprMaskedIrq, "/HM/CPU%d/Switch/TprMaskedIrq", "PDMGetInterrupt() signals TPR masks pending Irq."); 1002 1002 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchGuestIrq, "/HM/CPU%d/Switch/IrqPending", "PDMGetInterrupt() cleared behind our back!?!."); 1003 HM_REG_COUNTER(&pVCpu->hm.s.Stat PendingHostIrq,"/HM/CPU%d/Switch/PendingHostIrq", "Exit to ring-3 due to pending host interrupt before executing guest code.");1003 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchPendingHostIrq, "/HM/CPU%d/Switch/PendingHostIrq", "Exit to ring-3 due to pending host interrupt before executing guest code."); 1004 1004 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchHmToR3FF, "/HM/CPU%d/Switch/HmToR3FF", "Exit to ring-3 due to pending timers, EMT rendezvous, critical section etc."); 1005 1005 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchExitToR3, "/HM/CPU%d/Switch/ExitToR3", "Exit to ring-3 (total)."); … … 1041 1041 HM_REG_COUNTER(&pVCpu->hm.s.StatDRxIoCheck, "/HM/CPU%d/Debug/IOCheck", "Checking for I/O breakpoint."); 1042 1042 1043 HM_REG_COUNTER(&pVCpu->hm.s.StatExportMinimal, "/HM/CPU%d/ Load/Minimal", "VM-entry exporting minimal guest-state.");1044 HM_REG_COUNTER(&pVCpu->hm.s.StatExportFull, "/HM/CPU%d/ Load/Full", "VM-entry exporting the full guest-state.");1045 HM_REG_COUNTER(&pVCpu->hm.s.StatLoadGuestFpu, "/HM/CPU%d/ Load/GuestFpu", "VM-entry loading the guest-FPU state.");1043 HM_REG_COUNTER(&pVCpu->hm.s.StatExportMinimal, "/HM/CPU%d/Export/Minimal", "VM-entry exporting minimal guest-state."); 1044 HM_REG_COUNTER(&pVCpu->hm.s.StatExportFull, "/HM/CPU%d/Export/Full", "VM-entry exporting the full guest-state."); 1045 HM_REG_COUNTER(&pVCpu->hm.s.StatLoadGuestFpu, "/HM/CPU%d/Export/GuestFpu", "VM-entry loading the guest-FPU state."); 1046 1046 1047 1047 HM_REG_COUNTER(&pVCpu->hm.s.StatVmxCheckBadRmSelBase, "/HM/CPU%d/VMXCheck/RMSelBase", "Could not use VMX due to unsuitable real-mode selector base."); -
trunk/src/VBox/VMM/include/HMInternal.h
r73264 r73287 687 687 /** Whether we're using the hyper DR7 or guest DR7. */ 688 688 bool fUsingHyperDR7; 689 /** Set if XCR0 needs to be loaded and saved when entering and exiting guest690 * codeexecution. */689 /** Set if XCR0 needs to be saved/restored when entering/exiting guest code 690 * execution. */ 691 691 bool fLoadSaveGuestXcr0; 692 692 … … 934 934 STAMPROFILEADV StatLoadGuestFpuState; 935 935 STAMPROFILEADV StatInGC; 936 937 936 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) 938 937 STAMPROFILEADV StatWorldSwitch3264; … … 1002 1001 STAMCOUNTER StatExitMtf; 1003 1002 STAMCOUNTER StatExitApicAccess; 1004 STAMCOUNTER StatPendingHostIrq; 1003 STAMCOUNTER StatExitReasonNpf; 1004 1005 STAMCOUNTER StatNestedExitReasonNpf; 1005 1006 1006 1007 STAMCOUNTER StatFlushPage; … … 1019 1020 STAMCOUNTER StatTlbShootdownFlush; 1020 1021 1022 STAMCOUNTER StatSwitchPendingHostIrq; 1021 1023 STAMCOUNTER StatSwitchTprMaskedIrq; 1022 1024 STAMCOUNTER StatSwitchGuestIrq; … … 1034 1036 STAMCOUNTER StatTscIntercept; 1035 1037 1036 STAMCOUNTER StatExitReasonNpf;1037 1038 STAMCOUNTER StatDRxArmed; 1038 1039 STAMCOUNTER StatDRxContextSwitch; … … 1046 1047 STAMCOUNTER StatVmxCheckBadRmSelLimit; 1047 1048 STAMCOUNTER StatVmxCheckRmOk; 1048 1049 1049 STAMCOUNTER StatVmxCheckBadSel; 1050 1050 STAMCOUNTER StatVmxCheckBadRpl; … … 1053 1053 STAMCOUNTER StatVmxCheckPmOk; 1054 1054 1055 STAMCOUNTER StatNestedExitReasonNpf;1056 1057 1055 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) 1058 1056 STAMCOUNTER StatFpu64SwitchBack; 1059 1057 STAMCOUNTER StatDebug64SwitchBack; 1060 1058 #endif 1061 1062 1059 #ifdef VBOX_WITH_STATISTICS 1063 1060 R3PTRTYPE(PSTAMCOUNTER) paStatExitReason;
Note:
See TracChangeset
for help on using the changeset viewer.