Changeset 61848 in vbox
- Timestamp:
- Jun 23, 2016 12:20:44 PM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
-
Devices/testcase/tstDeviceStructSizeRC.cpp (modified) (1 diff)
-
VMM/VMMAll/APICAll.cpp (modified) (4 diffs)
-
VMM/VMMR3/APIC.cpp (modified) (3 diffs)
-
VMM/include/APICInternal.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
r61847 r61848 785 785 GEN_CHECK_OFF(APICCPU, uHintedTimerShift); 786 786 # ifdef VBOX_WITH_STATISTICS 787 GEN_CHECK_OFF(APICCPU, StatMmioReadR 0);787 GEN_CHECK_OFF(APICCPU, StatMmioReadRZ); 788 788 GEN_CHECK_OFF(APICCPU, StatMmioReadR3); 789 GEN_CHECK_OFF(APICCPU, StatMmioReadRC); 790 GEN_CHECK_OFF(APICCPU, StatMmioWriteR0); 789 GEN_CHECK_OFF(APICCPU, StatMmioWriteRZ); 791 790 GEN_CHECK_OFF(APICCPU, StatMmioWriteR3); 792 GEN_CHECK_OFF(APICCPU, StatMmioWriteRC); 793 GEN_CHECK_OFF(APICCPU, StatMsrReadR0); 791 GEN_CHECK_OFF(APICCPU, StatMsrReadRZ); 794 792 GEN_CHECK_OFF(APICCPU, StatMsrReadR3); 795 GEN_CHECK_OFF(APICCPU, StatMsrReadRC); 796 GEN_CHECK_OFF(APICCPU, StatMsrWriteR0); 793 GEN_CHECK_OFF(APICCPU, StatMsrWriteRZ); 797 794 GEN_CHECK_OFF(APICCPU, StatMsrWriteR3); 798 GEN_CHECK_OFF(APICCPU, StatMsrWriteRC);799 795 GEN_CHECK_OFF(APICCPU, StatUpdatePendingIntrs); 800 796 GEN_CHECK_OFF(APICCPU, StatPostIntr); -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r61847 r61848 1830 1830 #endif 1831 1831 1832 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF (StatMsrRead));1832 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF_Z(StatMsrRead)); 1833 1833 1834 1834 VBOXSTRICTRC rcStrict = VINF_SUCCESS; … … 1936 1936 #endif 1937 1937 1938 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF (StatMsrWrite));1938 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF_Z(StatMsrWrite)); 1939 1939 1940 1940 /* … … 2552 2552 uint32_t uValue = 0; 2553 2553 2554 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF (StatMmioRead));2554 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF_Z(StatMmioRead)); 2555 2555 2556 2556 int rc = VBOXSTRICTRC_VAL(apicReadRegister(pApicDev, pVCpu, offReg, &uValue)); … … 2576 2576 uint32_t uValue = *(uint32_t *)pv; 2577 2577 2578 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF (StatMmioWrite));2578 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF_Z(StatMmioWrite)); 2579 2579 2580 2580 Log2(("APIC%u: apicWriteMmio: offReg=%#RX16 uValue=%#RX32\n", pVCpu->idCpu, offReg, uValue)); -
trunk/src/VBox/VMM/VMMR3/APIC.cpp
r61847 r61848 1797 1797 } while(0) 1798 1798 1799 bool const fHasRC = !HMIsEnabledNotMacro(pVM);1800 1799 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 1801 1800 { … … 1803 1802 PAPICCPU pApicCpu = VMCPU_TO_APICCPU(pVCpu); 1804 1803 1805 APIC_REG_COUNTER(&pApicCpu->StatMmioReadR 0, "Number of APIC MMIO reads in R0.", "/Devices/APIC/%u/R0/MmioRead");1806 APIC_REG_COUNTER(&pApicCpu->StatMmioWriteR 0, "Number of APIC MMIO writes in R0.", "/Devices/APIC/%u/R0/MmioWrite");1807 APIC_REG_COUNTER(&pApicCpu->StatMsrReadR 0, "Number of APIC MSR reads in R0.", "/Devices/APIC/%u/R0/MsrRead");1808 APIC_REG_COUNTER(&pApicCpu->StatMsrWriteR 0, "Number of APIC MSR writes in R0.", "/Devices/APIC/%u/R0/MsrWrite");1804 APIC_REG_COUNTER(&pApicCpu->StatMmioReadRZ, "Number of APIC MMIO reads in RZ.", "/Devices/APIC/%u/RZ/MmioRead"); 1805 APIC_REG_COUNTER(&pApicCpu->StatMmioWriteRZ, "Number of APIC MMIO writes in RZ.", "/Devices/APIC/%u/RZ/MmioWrite"); 1806 APIC_REG_COUNTER(&pApicCpu->StatMsrReadRZ, "Number of APIC MSR reads in RZ.", "/Devices/APIC/%u/RZ/MsrRead"); 1807 APIC_REG_COUNTER(&pApicCpu->StatMsrWriteRZ, "Number of APIC MSR writes in RZ.", "/Devices/APIC/%u/RZ/MsrWrite"); 1809 1808 1810 1809 APIC_REG_COUNTER(&pApicCpu->StatMmioReadR3, "Number of APIC MMIO reads in R3.", "/Devices/APIC/%u/R3/MmioReadR3"); … … 1812 1811 APIC_REG_COUNTER(&pApicCpu->StatMsrReadR3, "Number of APIC MSR reads in R3.", "/Devices/APIC/%u/R3/MsrReadR3"); 1813 1812 APIC_REG_COUNTER(&pApicCpu->StatMsrWriteR3, "Number of APIC MSR writes in R3.", "/Devices/APIC/%u/R3/MsrWriteR3"); 1814 1815 if (fHasRC)1816 {1817 APIC_REG_COUNTER(&pApicCpu->StatMmioReadRC, "Number of APIC MMIO reads in RC.", "/Devices/APIC/%u/RC/MmioRead");1818 APIC_REG_COUNTER(&pApicCpu->StatMmioWriteRC, "Number of APIC MMIO writes in RC.", "/Devices/APIC/%u/RC/MmioWrite");1819 APIC_REG_COUNTER(&pApicCpu->StatMsrReadRC, "Number of APIC MSR reads in RC.", "/Devices/APIC/%u/RC/MsrRead");1820 APIC_REG_COUNTER(&pApicCpu->StatMsrWriteRC, "Number of APIC MSR writes in RC.", "/Devices/APIC/%u/RC/MsrWrite");1821 }1822 1813 1823 1814 APIC_PROF_COUNTER(&pApicCpu->StatUpdatePendingIntrs, "Profiling of APICUpdatePendingInterrupts", -
trunk/src/VBox/VMM/include/APICInternal.h
r61847 r61848 1319 1319 /** @name APIC statistics. 1320 1320 * @{ */ 1321 /** Number of MMIO reads in R 0. */1322 STAMCOUNTER StatMmioReadR 0;1321 /** Number of MMIO reads in RZ. */ 1322 STAMCOUNTER StatMmioReadRZ; 1323 1323 /** Number of MMIO reads in R3. */ 1324 1324 STAMCOUNTER StatMmioReadR3; 1325 /** Number of MMIO reads in RC. */ 1326 STAMCOUNTER StatMmioReadRC; 1327 1328 /** Number of MMIO writes in R0. */ 1329 STAMCOUNTER StatMmioWriteR0; 1325 1326 /** Number of MMIO writes in RZ. */ 1327 STAMCOUNTER StatMmioWriteRZ; 1330 1328 /** Number of MMIO writes in R3. */ 1331 1329 STAMCOUNTER StatMmioWriteR3; 1332 /** Number of MMIO writes in RC. */ 1333 STAMCOUNTER StatMmioWriteRC; 1334 1335 /** Number of MSR reads in R0. */ 1336 STAMCOUNTER StatMsrReadR0; 1330 1331 /** Number of MSR reads in RZ. */ 1332 STAMCOUNTER StatMsrReadRZ; 1337 1333 /** Number of MSR reads in R3. */ 1338 1334 STAMCOUNTER StatMsrReadR3; 1339 /** Number of MSR reads in RC. */ 1340 STAMCOUNTER StatMsrReadRC; 1341 1342 /** Number of MSR writes in R0. */ 1343 STAMCOUNTER StatMsrWriteR0; 1335 1336 /** Number of MSR writes in RZ. */ 1337 STAMCOUNTER StatMsrWriteRZ; 1344 1338 /** Number of MSR writes in R3. */ 1345 1339 STAMCOUNTER StatMsrWriteR3; 1346 /** Number of MSR writes in RC. */1347 STAMCOUNTER StatMsrWriteRC;1348 1340 1349 1341 /** Profiling of APICUpdatePendingInterrupts(). */
Note:
See TracChangeset
for help on using the changeset viewer.

