Changeset 105673 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Aug 14, 2024 1:57:57 PM (9 months ago)
- svn:sync-xref-src-repo-rev:
- 164370
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/IEMR3.cpp
r105663 r105673 224 224 pVCpu->iem.s.DataTlb.NonGlobalLargePageRange.uFirstTag = UINT64_MAX; 225 225 pVCpu->iem.s.DataTlb.GlobalLargePageRange.uFirstTag = UINT64_MAX; 226 #endif 227 228 #ifndef VBOX_VMM_TARGET_ARMV8 229 /* Poll timers every 400 us / 2500 Hz. (source: thin air) */ 230 pVCpu->iem.s.cNsIdealPollInterval = 400U * RT_NS_1US; 231 pVCpu->iem.s.cIrqChecksTillNextPoll = 128; 232 pVCpu->iem.s.cIrqChecksTillNextPollPrev = 128; 226 233 #endif 227 234 … … 595 602 "Times threaded TB execution was interrupted/broken off on a call without lookup entries", "/IEM/CPU%u/re/cTbExecThreadedBreaksWithoutLookup", idCpu); 596 603 # endif 604 605 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cIrqChecksTillNextPollPrev, STAMTYPE_U32, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 606 "Timer polling interval", "/IEM/CPU%u/re/cIrqChecksTillNextPollPrev", idCpu); 597 607 598 608 PIEMTBALLOCATOR const pTbAllocator = pVCpu->iem.s.pTbAllocatorR3; … … 648 658 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatCheckIrqBreaks, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 649 659 "TB breaks by CheckIrq", "/IEM/CPU%u/re/CheckIrqBreaks", idCpu); 660 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatCheckTimersBreaks, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 661 "TB breaks by CheckIrq", "/IEM/CPU%u/re/CheckTimersBreaks", idCpu); 650 662 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatCheckModeBreaks, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 651 663 "TB breaks by CheckMode", "/IEM/CPU%u/re/CheckModeBreaks", idCpu); … … 654 666 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatCheckNeedCsLimChecking, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 655 667 "Needing CS.LIM checking TB after branch or on page crossing", "/IEM/CPU%u/re/CheckTbNeedCsLimChecking", idCpu); 656 # ifdef VBOX_WITH_STATISTICS 668 669 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatTbLoopFullTbDetected, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 670 "Detected loop full TB", "/IEM/CPU%u/re/LoopFullTbDetected", idCpu); 657 671 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatTbLoopInTbDetected, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 658 672 "Detected loop within TB", "/IEM/CPU%u/re/LoopInTbDetected", idCpu); 659 #endif660 673 661 674 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatNativeExecMemInstrBufAllocFailed, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, … … 883 896 "Number of times the TB finished raising a #XF exception", 884 897 RAISE_PREFIX "RaiseXf", idCpu); 898 899 # ifdef VBOX_WITH_STATISTICS 900 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatNativeTbExitLoopFullTb, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 901 "Number of full TB loops.", 902 "/IEM/CPU%u/re/NativeTbExit/LoopFullTb", idCpu); 903 # endif 885 904 886 905 STAMR3RegisterF(pVM, &pVCpu->iem.s.StatNativeTbExitDirectLinking1Irq, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT,
Note:
See TracChangeset
for help on using the changeset viewer.