- Timestamp:
- Dec 19, 2008 2:11:07 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r15648 r15694 282 282 AssertRC(rc); 283 283 284 # if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 285 rc = STAMR3RegisterF(pVM, &pVCpu->hwaccm.s.StatWorldSwitch3264, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, "Profiling of the 32/64 switcher", 286 "/PROF/HWACCM/CPU%d/Switcher3264", i); 287 AssertRC(rc); 288 # endif 289 284 290 # define HWACCM_REG_COUNTER(a, b) \ 285 291 rc = STAMR3RegisterF(pVM, a, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES, "Profiling of vmlaunch", b, i); \ -
trunk/src/VBox/VMM/HWACCMInternal.h
r15588 r15694 552 552 #endif 553 553 STAMPROFILEADV StatInGC; 554 555 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 556 STAMPROFILEADV StatWorldSwitch3264; 557 #endif 554 558 555 559 STAMCOUNTER StatIntInject; -
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r15439 r15694 1119 1119 pCtx = CPUMQueryGuestCtxPtrEx(pVM, pVCpu); 1120 1120 1121 STAM_PROFILE_ADV_START(&pVCpu->hwaccm.s.StatWorldSwitch3264, z); 1121 1122 if (pVM->hwaccm.s.vmx.fSupported) 1122 return VMXR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnTest64, 5, &aParam[0]); 1123 1124 return SVMR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnTest64, 5, &aParam[0]); 1123 rc = VMXR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnTest64, 5, &aParam[0]); 1124 else 1125 rc = SVMR0Execute64BitsHandler(pVM, pVCpu, pCtx, pVM->hwaccm.s.pfnTest64, 5, &aParam[0]); 1126 STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatWorldSwitch3264, z); 1127 return rc; 1125 1128 } 1126 1129 # endif
Note:
See TracChangeset
for help on using the changeset viewer.