Changeset 88557 in vbox for trunk/src/VBox
- Timestamp:
- Apr 16, 2021 3:36:25 AM (4 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r85965 r88557 1333 1333 PXAPICPAGE pXApicPage = VMCPU_TO_XAPICPAGE(pVCpu); 1334 1334 apicWriteRaw32(pXApicPage, XAPIC_OFF_LDR, uLdr & XAPIC_LDR_VALID); 1335 STAM_COUNTER_INC(&pVCpu->apic.s.StatLdrWrite); 1335 1336 return VINF_SUCCESS; 1336 1337 } … … 1358 1359 PXAPICPAGE pXApicPage = VMCPU_TO_XAPICPAGE(pVCpu); 1359 1360 apicWriteRaw32(pXApicPage, XAPIC_OFF_DFR, uDfr); 1361 STAM_COUNTER_INC(&pVCpu->apic.s.StatDfrWrite); 1360 1362 return VINF_SUCCESS; 1361 1363 } … … 1380 1382 PXAPICPAGE pXApicPage = VMCPU_TO_XAPICPAGE(pVCpu); 1381 1383 apicWriteRaw32(pXApicPage, XAPIC_OFF_TIMER_DCR, uTimerDcr); 1384 STAM_COUNTER_INC(&pVCpu->apic.s.StatDcrWrite); 1382 1385 return VINF_SUCCESS; 1383 1386 } … … 1514 1517 if (offLvt == XAPIC_OFF_LVT_TIMER) 1515 1518 { 1519 STAM_COUNTER_INC(&pVCpu->apic.s.StatLvtTimerWrite); 1516 1520 if ( !pApic->fSupportsTscDeadline 1517 1521 && (uLvt & XAPIC_LVT_TIMER_TSCDEADLINE)) -
trunk/src/VBox/VMM/VMMR3/APIC.cpp
r87767 r88557 1569 1569 APIC_REG_COUNTER(&pApicCpu->StatIcrFullWrite, "%u/IcrFullWrite", "Number of times the ICR full (send IPI, x2APIC) is written."); 1570 1570 APIC_REG_COUNTER(&pApicCpu->StatIdMsrRead, "%u/IdMsrRead", "Number of times the APIC-ID MSR is read."); 1571 APIC_REG_COUNTER(&pApicCpu->StatDcrWrite, "%u/DcrWrite", "Number of times the DCR is written."); 1572 APIC_REG_COUNTER(&pApicCpu->StatDfrWrite, "%u/DfrWrite", "Number of times the DFR is written."); 1573 APIC_REG_COUNTER(&pApicCpu->StatLdrWrite, "%u/LdrWrite", "Number of times the LDR is written."); 1574 APIC_REG_COUNTER(&pApicCpu->StatLvtTimerWrite, "%u/LvtTimerWrite", "Number of times the LVT timer is written."); 1571 1575 1572 1576 APIC_PROF_COUNTER(&pApicCpu->StatUpdatePendingIntrs, -
trunk/src/VBox/VMM/include/APICInternal.h
r86529 r88557 1083 1083 /** Number of times the full ICR (x2APIC send IPI) is written. */ 1084 1084 STAMCOUNTER StatIcrFullWrite; 1085 /** Number of times the DCR is written. */ 1086 STAMCOUNTER StatDcrWrite; 1087 /** Number of times the DFR is written. */ 1088 STAMCOUNTER StatDfrWrite; 1089 /** Number of times the LDR is written. */ 1090 STAMCOUNTER StatLdrWrite; 1085 1091 /** Number of times the APIC-ID MSR is read. */ 1086 1092 STAMCOUNTER StatIdMsrRead; 1093 /** Number of times the LVT timer is written. */ 1094 STAMCOUNTER StatLvtTimerWrite; 1087 1095 #endif 1088 1096 /** Number of apicPostInterrupt() calls. */
Note:
See TracChangeset
for help on using the changeset viewer.