Changeset 47512 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2013 4:30:19 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r47472 r47512 7421 7421 */ 7422 7422 VMXDispatchHostNmi(); 7423 STAM_ COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi);7423 STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi); 7424 7424 STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatExitXcptNmi, y3); 7425 7425 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r47472 r47512 3535 3535 case VMX_EXIT_INTERRUPTION_INFO_TYPE_NMI: /* Non-maskable interrupt. */ 3536 3536 /* External interrupt; leave to allow it to be dispatched again. */ 3537 STAM_ COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi);3537 STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmi); 3538 3538 rc = VINF_EM_RAW_INTERRUPT; 3539 3539 break; -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r47444 r47512 561 561 STAM_REG(pVM, &pVM->hm.s.StatTprReplaceSuccess, STAMTYPE_COUNTER, "/HM/TPR/Replace/Success",STAMUNIT_OCCURENCES, "Number of times an instruction was successfully patched."); 562 562 STAM_REG(pVM, &pVM->hm.s.StatTprReplaceFailure, STAMTYPE_COUNTER, "/HM/TPR/Replace/Failed", STAMUNIT_OCCURENCES, "Number of unsuccessful patch attempts."); 563 #endif 563 564 564 565 /* … … 570 571 int rc; 571 572 573 #ifdef VBOX_WITH_STATISTICS 572 574 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatPoke, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 573 575 "Profiling of RTMpPokeCpu", … … 631 633 # endif 632 634 635 #endif 633 636 # define HM_REG_COUNTER(a, b, desc) \ 634 637 rc = STAMR3RegisterF(pVM, a, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES, desc, b, i); \ 635 638 AssertRC(rc); 636 639 640 #ifdef VBOX_WITH_STATISTICS 637 641 HM_REG_COUNTER(&pVCpu->hm.s.StatExitShadowNM, "/HM/CPU%d/Exit/Trap/Shw/#NM", "Shadow #NM (device not available, no math co-processor) exception."); 638 642 HM_REG_COUNTER(&pVCpu->hm.s.StatExitGuestNM, "/HM/CPU%d/Exit/Trap/Gst/#NM", "Guest #NM (device not available, no math co-processor) exception."); … … 682 686 HM_REG_COUNTER(&pVCpu->hm.s.StatExitMaxResume, "/HM/CPU%d/Exit/MaxResume", "Maximum VMRESUME inner-loop counter reached."); 683 687 HM_REG_COUNTER(&pVCpu->hm.s.StatExitExtInt, "/HM/CPU%d/Exit/ExtInt", "Host interrupt received."); 688 #endif 684 689 HM_REG_COUNTER(&pVCpu->hm.s.StatExitHostNmi, "/HM/CPU%d/Exit/HostNmi", "Host NMI received."); 690 #ifdef VBOX_WITH_STATISTICS 685 691 HM_REG_COUNTER(&pVCpu->hm.s.StatExitPreemptTimer, "/HM/CPU%d/Exit/PreemptTimer", "VMX-preemption timer expired."); 686 692 HM_REG_COUNTER(&pVCpu->hm.s.StatExitTprBelowThreshold, "/HM/CPU%d/Exit/TprBelowThreshold", "TPR lowered below threshold by the guest."); … … 796 802 } 797 803 798 }799 804 #endif /* VBOX_WITH_STATISTICS */ 805 } 800 806 801 807 #ifdef VBOX_WITH_CRASHDUMP_MAGIC
Note:
See TracChangeset
for help on using the changeset viewer.