Changeset 89734 in vbox
- Timestamp:
- Jun 16, 2021 8:08:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r89620 r89734 320 320 * APIC(s). */ 321 321 STAMCOUNTER StatEoiReceived; 322 /** The time an interrupt level spent in the pending state. */ 323 STAMPROFILEADV aStatLevelAct[IOAPIC_NUM_INTR_PINS]; 322 324 #endif 323 325 /** Per-vector stats. */ … … 677 679 pThis->au64RedirTable[idxRte] |= IOAPIC_RTE_REMOTE_IRR; 678 680 STAM_COUNTER_INC(&pThis->StatLevelIrqSent); 681 STAM_PROFILE_ADV_START(&pThis->aStatLevelAct[idxRte], a); 679 682 } 680 683 } … … 866 869 pThis->au64RedirTable[idxRte] &= ~IOAPIC_RTE_REMOTE_IRR; 867 870 fRemoteIrrCleared = true; 871 STAM_PROFILE_ADV_STOP(&pThis->aStatLevelAct[idxRte], a); 868 872 STAM_COUNTER_INC(&pThis->StatEoiReceived); 869 873 Log2(("IOAPIC: ioapicSetEoi: Cleared remote IRR, idxRte=%u vector=%#x (%u)\n", idxRte, u8Vector, u8Vector)); … … 1667 1671 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatLevelIrqSent, STAMTYPE_COUNTER, "LevelIntr/Sent", STAMUNIT_OCCURENCES, "Number of level-triggered interrupts sent to the local APIC(s)."); 1668 1672 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatEoiReceived, STAMTYPE_COUNTER, "LevelIntr/Recv", STAMUNIT_OCCURENCES, "Number of EOIs received for level-triggered interrupts from the local APIC(s)."); 1673 1674 for (int i = 0; i < RT_ELEMENTS(pThis->aStatLevelAct); ++i) 1675 PDMDevHlpSTAMRegisterF(pDevIns, &pThis->aStatLevelAct[i], STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_TICKS_PER_CALL, "Time spent in the level active state", "IntPending/%02x", i); 1669 1676 # endif 1670 1677 for (size_t i = 0; i < RT_ELEMENTS(pThis->aStatVectors); i++)
Note:
See TracChangeset
for help on using the changeset viewer.