- Timestamp:
- Sep 27, 2022 9:00:15 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153801
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r96712 r96894 252 252 EM_REG_COUNTER(&pVCpu->em.s.StatPrivEmu, "/PROF/CPU%u/EM/Emulation/Priv", "Profiling of emR3RawPrivileged."); 253 253 EM_REG_PROFILE(&pVCpu->em.s.StatHMEntry, "/PROF/CPU%u/EM/HMEnter", "Profiling Hardware Accelerated Mode entry overhead."); 254 #endif 254 255 EM_REG_PROFILE(&pVCpu->em.s.StatHMExec, "/PROF/CPU%u/EM/HMExec", "Profiling Hardware Accelerated Mode execution."); 255 256 EM_REG_COUNTER(&pVCpu->em.s.StatHMExecuteCalled, "/PROF/CPU%u/EM/HMExecuteCalled", "Number of times enmR3HMExecute is called."); 257 #ifdef VBOX_WITH_STATISTICS 256 258 EM_REG_PROFILE(&pVCpu->em.s.StatIEMEmu, "/PROF/CPU%u/EM/IEMEmuSingle", "Profiling single instruction IEM execution."); 257 259 EM_REG_PROFILE(&pVCpu->em.s.StatIEMThenREM, "/PROF/CPU%u/EM/IEMThenRem", "Profiling IEM-then-REM instruction execution (by IEM)."); 258 260 EM_REG_PROFILE(&pVCpu->em.s.StatNEMEntry, "/PROF/CPU%u/EM/NEMEnter", "Profiling NEM entry overhead."); 259 #endif /* VBOX_WITH_STATISTICS */261 #endif 260 262 EM_REG_PROFILE(&pVCpu->em.s.StatNEMExec, "/PROF/CPU%u/EM/NEMExec", "Profiling NEM execution."); 261 263 EM_REG_COUNTER(&pVCpu->em.s.StatNEMExecuteCalled, "/PROF/CPU%u/EM/NEMExecuteCalled", "Number of times enmR3NEMExecute is called."); -
trunk/src/VBox/VMM/VMMR3/EMHM.cpp
r96407 r96894 363 363 *pfFFDone = false; 364 364 365 STAM_ COUNTER_INC(&pVCpu->em.s.StatHMExecuteCalled);365 STAM_REL_COUNTER_INC(&pVCpu->em.s.StatHMExecuteCalled); 366 366 367 367 /* … … 425 425 if (RT_LIKELY(emR3IsExecutionAllowed(pVM, pVCpu))) 426 426 { 427 STAM_ PROFILE_START(&pVCpu->em.s.StatHMExec, x);427 STAM_REL_PROFILE_START(&pVCpu->em.s.StatHMExec, x); 428 428 rc = VMMR3HmRunGC(pVM, pVCpu); 429 STAM_ PROFILE_STOP(&pVCpu->em.s.StatHMExec, x);429 STAM_REL_PROFILE_STOP(&pVCpu->em.s.StatHMExec, x); 430 430 } 431 431 else
Note:
See TracChangeset
for help on using the changeset viewer.