Changeset 9082 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 23, 2008 1:14:15 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r9062 r9082 160 160 STAM_REG(pVM, &pVM->hwaccm.s.StatNoFlushTLBWorldSwitch, STAMTYPE_COUNTER, "/HWACCM/Flush/TLB/Skipped", STAMUNIT_OCCURENCES, "Nr of occurances"); 161 161 STAM_REG(pVM, &pVM->hwaccm.s.StatFlushASID, STAMTYPE_COUNTER, "/HWACCM/Flush/TLB/ASID", STAMUNIT_OCCURENCES, "Nr of occurances"); 162 163 STAM_REG(pVM, &pVM->hwaccm.s.StatTSCOffset, STAMTYPE_COUNTER, "/HWACCM/TSC/Offset", STAMUNIT_OCCURENCES, "Nr of occurances"); 164 STAM_REG(pVM, &pVM->hwaccm.s.StatTSCIntercept, STAMTYPE_COUNTER, "/HWACCM/TSC/Intercept", STAMUNIT_OCCURENCES, "Nr of occurances"); 162 165 163 166 pVM->hwaccm.s.pStatExitReason = 0; -
trunk/src/VBox/VMM/HWACCMInternal.h
r9033 r9082 331 331 STAMCOUNTER StatSwitchToR3; 332 332 333 STAMCOUNTER StatTSCOffset; 334 STAMCOUNTER StatTSCIntercept; 335 333 336 STAMCOUNTER StatExitReasonNPF; 334 337 R3PTRTYPE(PSTAMCOUNTER) pStatExitReason; -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r9075 r9082 684 684 /** TSC offset. */ 685 685 if (TMCpuTickCanUseRealTSC(pVM, &pVMCB->ctrl.u64TSCOffset)) 686 { 686 687 pVMCB->ctrl.u32InterceptCtrl1 &= ~SVM_CTRL1_INTERCEPT_RDTSC; 688 STAM_COUNTER_INC(&pVM->hwaccm.s.StatTSCOffset); 689 } 687 690 else 691 { 688 692 pVMCB->ctrl.u32InterceptCtrl1 |= SVM_CTRL1_INTERCEPT_RDTSC; 693 STAM_COUNTER_INC(&pVM->hwaccm.s.StatTSCIntercept); 694 } 689 695 690 696 /** @todo 64 bits stuff (?):
Note:
See TracChangeset
for help on using the changeset viewer.