儲存庫 vbox 的更動 85965
- 時間撮記:
- 2020-8-31 下午11:47:31 (5 年 以前)
- svn:sync-xref-src-repo-rev:
- 140160
- 位置:
- trunk
- 檔案:
-
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/vmm/vm.h
r84431 r85965 269 269 struct APICCPU s; 270 270 #endif 271 uint8_t padding[ 1792]; /* multiple of 64 */271 uint8_t padding[3840]; /* multiple of 64 */ 272 272 } apic; 273 273 … … 285 285 286 286 /** Align the following members on page boundary. */ 287 uint8_t abAlignment2[ 1400];287 uint8_t abAlignment2[3448]; 288 288 289 289 /** PGM part. */ -
trunk/include/VBox/vmm/vm.mac
r84431 r85965 71 71 .dbgf resb 256 72 72 .gim resb 512 73 .apic resb 179273 .apic resb 3840 74 74 75 75 .fTraceGroups resd 1 -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r85964 r85965 3101 3101 3102 3102 STAM_PROFILE_START(&pApicCpu->StatPostIntr, a); 3103 STAM_REL_COUNTER_INC(&pApicCpu->StatPostIntrCnt); 3104 STAM_REL_COUNTER_INC(&pApicCpu->aStatVectors[uVector]); 3103 3105 3104 3106 /* -
trunk/src/VBox/VMM/VMMR3/APIC.cpp
r85964 r85965 1524 1524 DBGFR3InfoRegisterInternalEx(pVM, "apictimer", "Dumps APIC timer information.", apicR3InfoTimer, DBGFINFO_FLAGS_ALL_EMTS); 1525 1525 1526 #ifdef VBOX_WITH_STATISTICS1527 1526 /* 1528 1527 * Statistics. … … 1531 1530 PDMDevHlpSTAMRegisterF(pDevIns, a_pvReg, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, \ 1532 1531 STAMUNIT_OCCURENCES, a_pszDesc, a_pszNameFmt, idCpu) 1533 # 1532 #define APIC_PROF_COUNTER(a_pvReg, a_pszNameFmt, a_pszDesc) \ 1534 1533 PDMDevHlpSTAMRegisterF(pDevIns, a_pvReg, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, \ 1535 1534 STAMUNIT_TICKS_PER_CALL, a_pszDesc, a_pszNameFmt, idCpu) … … 1540 1539 PAPICCPU pApicCpu = VMCPU_TO_APICCPU(pVCpu); 1541 1540 1541 APIC_REG_COUNTER(&pApicCpu->StatPostIntrCnt, "%u", "APIC/VCPU stats / number of apicPostInterrupt calls."); 1542 for (size_t i = 0; i < RT_ELEMENTS(pApicCpu->aStatVectors); i++) 1543 PDMDevHlpSTAMRegisterF(pDevIns, &pApicCpu->aStatVectors[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES, 1544 "Number of APICPostInterrupt calls for the vector.", "%u/Vectors/%02x", idCpu, i); 1545 1546 #ifdef VBOX_WITH_STATISTICS 1542 1547 APIC_REG_COUNTER(&pApicCpu->StatMmioReadRZ, "%u/RZ/MmioRead", "Number of APIC MMIO reads in RZ."); 1543 1548 APIC_REG_COUNTER(&pApicCpu->StatMmioWriteRZ, "%u/RZ/MmioWrite", "Number of APIC MMIO writes in RZ."); … … 1568 1573 "/PROF/CPU%u/APIC/UpdatePendingInterrupts", "Profiling of APICUpdatePendingInterrupts"); 1569 1574 APIC_PROF_COUNTER(&pApicCpu->StatPostIntr, "/PROF/CPU%u/APIC/PostInterrupt", "Profiling of APICPostInterrupt"); 1575 #endif 1570 1576 } 1571 1577 1572 1578 # undef APIC_PROF_COUNTER 1573 1579 # undef APIC_REG_ACCESS_COUNTER 1574 #endif1575 1580 1576 1581 return VINF_SUCCESS; -
trunk/src/VBox/VMM/include/APICInternal.h
r85964 r85965 1033 1033 /** @} */ 1034 1034 1035 #ifdef VBOX_WITH_STATISTICS1036 1035 /** @name APIC statistics. 1037 1036 * @{ */ 1037 #ifdef VBOX_WITH_STATISTICS 1038 1038 /** Number of MMIO reads in RZ. */ 1039 1039 STAMCOUNTER StatMmioReadRZ; … … 1085 1085 /** Number of times the APIC-ID MSR is read. */ 1086 1086 STAMCOUNTER StatIdMsrRead; 1087 #endif 1088 /** Number of apicPostInterrupt() calls. */ 1089 STAMCOUNTER StatPostIntrCnt; 1090 /** Number of interrupts broken down by vector. */ 1091 STAMCOUNTER aStatVectors[256]; 1087 1092 /** @} */ 1088 #endif1089 1093 } APICCPU; 1090 1094 /** Pointer to APIC VMCPU instance data. */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器