Changeset 72991 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jul 9, 2018 3:54:58 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r72983 r72991 868 868 #ifdef VBOX_WITH_STATISTICS 869 869 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatPoke, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 870 "Profiling of RTMpPokeCpu ",870 "Profiling of RTMpPokeCpu.", 871 871 "/PROF/CPU%d/HM/Poke", i); 872 872 AssertRC(rc); 873 873 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatSpinPoke, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 874 "Profiling of poke wait ",874 "Profiling of poke wait.", 875 875 "/PROF/CPU%d/HM/PokeWait", i); 876 876 AssertRC(rc); 877 877 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatSpinPokeFailed, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 878 "Profiling of poke wait when RTMpPokeCpu fails ",878 "Profiling of poke wait when RTMpPokeCpu fails.", 879 879 "/PROF/CPU%d/HM/PokeWaitFailed", i); 880 880 AssertRC(rc); 881 881 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatEntry, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 882 "Profiling of VMXR0RunGuestCode entry",883 "/PROF/CPU%d/HM/ StatEntry", i);882 "Profiling of entry until entering GC.", 883 "/PROF/CPU%d/HM/Entry", i); 884 884 AssertRC(rc); 885 885 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatPreExit, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 886 "Profiling of pre-exit processing after returning from GC ",886 "Profiling of pre-exit processing after returning from GC.", 887 887 "/PROF/CPU%d/HM/SwitchFromGC_1", i); 888 888 AssertRC(rc); … … 893 893 894 894 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitIO, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 895 "I/O ",895 "I/O.", 896 896 "/PROF/CPU%d/HM/SwitchFromGC_2/IO", i); 897 897 AssertRC(rc); 898 898 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitMovCRx, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 899 "MOV CRx ",899 "MOV CRx.", 900 900 "/PROF/CPU%d/HM/SwitchFromGC_2/MovCRx", i); 901 901 AssertRC(rc); 902 902 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitXcptNmi, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 903 "Exceptions, NMIs ",903 "Exceptions, NMIs.", 904 904 "/PROF/CPU%d/HM/SwitchFromGC_2/XcptNmi", i); 905 905 AssertRC(rc); 906 906 907 907 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatImportGuestState, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 908 "Profiling of hmR0VmxImportGuestState or hmR0SvmImportGuestState",909 "/PROF/CPU%d/HM/ StatImportGuestState", i);908 "Profiling of importing guest state from hardware after VM-exit.", 909 "/PROF/CPU%d/HM/ImportGuestState", i); 910 910 AssertRC(rc); 911 911 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExportGuestState, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 912 "Profiling of hmR0VmxExportGuestState or hmR0SvmExportGuestState",913 "/PROF/CPU%d/HM/ StatExportGuestState", i);912 "Profiling of exporting guest state to hardware before VM-entry.", 913 "/PROF/CPU%d/HM/ExportGuestState", i); 914 914 AssertRC(rc); 915 915 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatLoadGuestFpuState, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 916 "Profiling of CPUMR0LoadGuestFPU ",917 "/PROF/CPU%d/HM/ StatLoadGuestFpuState", i);916 "Profiling of CPUMR0LoadGuestFPU.", 917 "/PROF/CPU%d/HM/LoadGuestFpuState", i); 918 918 AssertRC(rc); 919 919 rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatInGC, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, 920 "Profiling of VMLAUNCH/VMRESUME.",920 "Profiling of execution of guest-code in hardware.", 921 921 "/PROF/CPU%d/HM/InGC", i); 922 922 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.