Changeset 13100 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 8, 2008 5:33:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r13062 r13100 721 721 ) 722 722 { 723 STAM_COUNTER_INC(&pPool->CTX MID(StatMonitor,Fork));723 STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,Fork)); 724 724 return true; 725 725 } … … 840 840 pRegFrame->cs, (RTGCPTR)pRegFrame->eip)); 841 841 rc = VINF_SUCCESS; 842 STAM_COUNTER_INC(&pPool->StatMonitor GCIntrFailPatch2);842 STAM_COUNTER_INC(&pPool->StatMonitorRZIntrFailPatch2); 843 843 } 844 844 else … … 846 846 { 847 847 rc = VINF_EM_RAW_EMULATE_INSTR; 848 STAM_COUNTER_INC(&pPool->CTX MID(StatMonitor,EmulateInstr));848 STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,EmulateInstr)); 849 849 } 850 850 } … … 954 954 pRegFrame->cs, (RTGCPTR)pRegFrame->rip, pCpu->pCurInstr->opcode)); 955 955 rc = VINF_EM_RAW_EMULATE_INSTR; 956 STAM_COUNTER_INC(&pPool->CTX MID(StatMonitor,EmulateInstr));956 STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,EmulateInstr)); 957 957 } 958 958 … … 990 990 DECLEXPORT(int) pgmPoolAccessHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser) 991 991 { 992 STAM_PROFILE_START(&pVM->pgm.s.CTX_SUFF(pPool)->CTX SUFF(StatMonitor), a);992 STAM_PROFILE_START(&pVM->pgm.s.CTX_SUFF(pPool)->CTX_SUFF_Z(StatMonitor), a); 993 993 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 994 994 PPGMPOOLPAGE pPage = (PPGMPOOLPAGE)pvUser; … … 1023 1023 { 1024 1024 rc = pgmPoolAccessHandlerSimple(pVM, pPool, pPage, &Cpu, pRegFrame, GCPhysFault, pvFault); 1025 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX SUFF(StatMonitor), &pPool->CTXMID(StatMonitor,Handled), a);1025 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX_SUFF_Z(StatMonitor), &pPool->CTX_MID_Z(StatMonitor,Handled), a); 1026 1026 return rc; 1027 1027 } … … 1045 1045 { 1046 1046 rc = pgmPoolAccessHandlerSTOSD(pVM, pPool, pPage, &Cpu, pRegFrame, GCPhysFault, pvFault); 1047 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX SUFF(StatMonitor), &pPool->CTXMID(StatMonitor,RepStosd), a);1047 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX_SUFF_Z(StatMonitor), &pPool->CTX_MID_Z(StatMonitor,RepStosd), a); 1048 1048 return rc; 1049 1049 } 1050 1050 1051 1051 /* REP prefix, don't bother. */ 1052 STAM_COUNTER_INC(&pPool->CTX MID(StatMonitor,RepPrefix));1052 STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,RepPrefix)); 1053 1053 Log4(("pgmPoolAccessHandler: eax=%#x ecx=%#x edi=%#x esi=%#x eip=%VGv opcode=%d prefix=%#x\n", 1054 1054 pRegFrame->eax, pRegFrame->ecx, pRegFrame->edi, pRegFrame->esi, pRegFrame->rip, Cpu.pCurInstr->opcode, Cpu.prefix)); … … 1066 1066 if (rc == VINF_EM_RAW_EMULATE_INSTR && fReused) 1067 1067 rc = VINF_SUCCESS; 1068 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX SUFF(StatMonitor), &pPool->CTXMID(StatMonitor,FlushPage), a);1068 STAM_PROFILE_STOP_EX(&pVM->pgm.s.CTX_SUFF(pPool)->CTX_SUFF_Z(StatMonitor), &pPool->CTX_MID_Z(StatMonitor,FlushPage), a); 1069 1069 return rc; 1070 1070 }
Note:
See TracChangeset
for help on using the changeset viewer.