VirtualBox

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


Ignore:
Timestamp:
Jun 27, 2023 10:25:44 PM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158020
Message:

VMM/IEM: Added missing VM_FF checks and timer polling (TMTimerPollBool) to the IEMExecRecompilerThreaded loop. This fixes slow interrupt deliver and whatnot. bugref:10369

File:
1 edited

Legend:

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

    r100224 r100305  
    169169
    170170#ifdef VBOX_WITH_IEM_RECOMPILER
     171        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbExec,             STAMTYPE_U64_RESET, STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
     172                        "Executed translation block",               "/IEM/CPU%u/cTbExec", idCpu);
    171173        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbAllocs,           STAMTYPE_U64,       STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
    172174                        "Translation block allocations",            "/IEM/CPU%u/cTbAllocs", idCpu);
    173175        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbFrees,            STAMTYPE_U64,       STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
    174176                        "Translation block frees",                  "/IEM/CPU%u/cTbFrees", idCpu);
    175         STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbLookupHits,       STAMTYPE_U64,      STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
     177        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbLookupHits,       STAMTYPE_U64_RESET, STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
    176178                        "Translation block lookup hits",            "/IEM/CPU%u/cTbLookupHits", idCpu);
    177         STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbLookupMisses, STAMTYPE_U64,      STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
     179        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.cTbLookupMisses,     STAMTYPE_U64_RESET, STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
    178180                        "Translation block lookup misses",          "/IEM/CPU%u/cTbLookupMisses", idCpu);
    179181#endif
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