Changeset 85966 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Aug 31, 2020 11:47:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r85865 r85966 262 262 STAMCOUNTER StatEoiReceived; 263 263 #endif 264 /** Per-vector stats. */ 265 STAMCOUNTER aStatVectors[256]; 264 266 } IOAPIC; 265 267 AssertCompileMemberAlignment(IOAPIC, au64RedirTable, 8); … … 917 919 * Deliver to the local APIC via the system/3-wire-APIC bus. 918 920 */ 921 PIOAPIC pThis = PDMDEVINS_2_DATA(pDevIns, PIOAPIC); 922 STAM_REL_COUNTER_INC(&pThis->aStatVectors[ApicIntr.u8Vector]); 923 919 924 int rc = pThisCC->pIoApicHlp->pfnApicBusDeliver(pDevIns, 920 925 ApicIntr.u8Dest, … … 1473 1478 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatEoiReceived, STAMTYPE_COUNTER, "LevelIntr/Recv", STAMUNIT_OCCURENCES, "Number of EOIs received for level-triggered interrupts from the local APIC(s)."); 1474 1479 # endif 1480 for (size_t i = 0; i < RT_ELEMENTS(pThis->aStatVectors); i++) 1481 PDMDevHlpSTAMRegisterF(pDevIns, &pThis->aStatVectors, STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES, 1482 "Number of ioapicSendMsi/pfnApicBusDeliver calls for the vector.", "Vectors/%02x", i); 1475 1483 1476 1484 /*
Note:
See TracChangeset
for help on using the changeset viewer.