VirtualBox

Changeset 72991 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 9, 2018 3:54:58 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HM: Stat nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r72983 r72991  
    868868#ifdef VBOX_WITH_STATISTICS
    869869        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatPoke, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    870                              "Profiling of RTMpPokeCpu",
     870                             "Profiling of RTMpPokeCpu.",
    871871                             "/PROF/CPU%d/HM/Poke", i);
    872872        AssertRC(rc);
    873873        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.",
    875875                             "/PROF/CPU%d/HM/PokeWait", i);
    876876        AssertRC(rc);
    877877        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.",
    879879                             "/PROF/CPU%d/HM/PokeWaitFailed", i);
    880880        AssertRC(rc);
    881881        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);
    884884        AssertRC(rc);
    885885        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.",
    887887                             "/PROF/CPU%d/HM/SwitchFromGC_1", i);
    888888        AssertRC(rc);
     
    893893
    894894        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitIO, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    895                              "I/O",
     895                             "I/O.",
    896896                             "/PROF/CPU%d/HM/SwitchFromGC_2/IO", i);
    897897        AssertRC(rc);
    898898        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitMovCRx, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    899                              "MOV CRx",
     899                             "MOV CRx.",
    900900                             "/PROF/CPU%d/HM/SwitchFromGC_2/MovCRx", i);
    901901        AssertRC(rc);
    902902        rc = STAMR3RegisterF(pVM, &pVCpu->hm.s.StatExitXcptNmi, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL,
    903                              "Exceptions, NMIs",
     903                             "Exceptions, NMIs.",
    904904                             "/PROF/CPU%d/HM/SwitchFromGC_2/XcptNmi", i);
    905905        AssertRC(rc);
    906906
    907907        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);
    910910        AssertRC(rc);
    911911        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);
    914914        AssertRC(rc);
    915915        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);
    918918        AssertRC(rc);
    919919        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.",
    921921                             "/PROF/CPU%d/HM/InGC", i);
    922922        AssertRC(rc);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette