VirtualBox

Changeset 104282 in vbox


Ignore:
Timestamp:
Apr 10, 2024 5:24:54 PM (10 months ago)
Author:
vboxsync
Message:

VMM/IEM: Gather statistics on the exit behavior of native TBs, bugref:10653 [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp

    r104281 r104282  
    92339233
    92349234#ifdef VBOX_WITH_STATISTICS
    9235         uint8_t const idxStatsTmp1 = iemNativeRegAllocTmp(pReNative, &off);
    9236         uint8_t const idxStatsTmp2 = iemNativeRegAllocTmp(pReNative, &off);
    9237         off = iemNativeEmitIncStamCounterInVCpu(pReNative, off, idxStatsTmp1, idxStatsTmp2,
    9238                                                 RT_UOFFSETOF(VMCPUCC, iem.s.StatNativeTbFinished));
    9239         iemNativeRegFreeTmp(pReNative, idxStatsTmp1);
    9240         iemNativeRegFreeTmp(pReNative, idxStatsTmp2);
     9235        {
     9236            uint8_t const idxStatsTmp1 = iemNativeRegAllocTmp(pReNative, &off);
     9237            uint8_t const idxStatsTmp2 = iemNativeRegAllocTmp(pReNative, &off);
     9238            off = iemNativeEmitIncStamCounterInVCpu(pReNative, off, idxStatsTmp1, idxStatsTmp2,
     9239                                                    RT_UOFFSETOF(VMCPUCC, iem.s.StatNativeTbFinished));
     9240            iemNativeRegFreeTmp(pReNative, idxStatsTmp1);
     9241            iemNativeRegFreeTmp(pReNative, idxStatsTmp2);
     9242        }
    92419243#endif
    92429244
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