VirtualBox

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


Ignore:
Timestamp:
Jul 7, 2022 11:43:55 PM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Some crude exception/interrupt stats and history. bugref:9898

File:
1 edited

Legend:

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

    r95557 r95560  
    130130        STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.DataTlb.uTlbPhysRev, STAMTYPE_X64,       STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
    131131                        "Data TLB physical revision",               "/IEM/CPU%u/DataTlb-PhysRev", idCpu);
     132
     133        for (uint32_t i = 0; i < RT_MIN(0x20, RT_ELEMENTS(pVCpu->iem.s.aStatXcpts)); i++)
     134            STAMR3RegisterF(pVM, &pVCpu->iem.s.aStatXcpts[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES,
     135                            "", "/IEM/CPU%u/xcpts/00-1f/%02x", idCpu, i);
     136        for (uint32_t i = 0x20; i < RT_ELEMENTS(pVCpu->iem.s.aStatXcpts); i++)
     137            STAMR3RegisterF(pVM, &pVCpu->iem.s.aStatXcpts[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES,
     138                            "", "/IEM/CPU%u/xcpts/20-ff/%02x", idCpu, i);
    132139
    133140#if defined(VBOX_WITH_STATISTICS) && !defined(DOXYGEN_RUNNING)
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