- Timestamp:
- Feb 6, 2007 2:15:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r706 r708 1041 1041 * Perform the read and deal with the result. 1042 1042 */ 1043 #ifdef VBOX_WITH_STATISTICS 1044 if (pStats) 1045 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfRead), a); 1046 #endif 1043 1047 int rc = pRange->pfnReadCallback(pRange->pDevIns, pRange->pvUser, GCPhys, pu32Value, cbValue); 1044 1048 #ifdef VBOX_WITH_STATISTICS 1049 if (pStats) 1050 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfRead), a); 1045 1051 if (pStats && rc != VINF_IOM_HC_MMIO_READ) 1046 1052 STAM_COUNTER_INC(&pStats->CTXALLSUFF(Read)); … … 1137 1143 #endif /* !IN_RING3 */ 1138 1144 { 1145 #ifdef VBOX_WITH_STATISTICS 1146 if (pStats) 1147 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfWrite), a); 1148 #endif 1139 1149 int rc = pRange->pfnWriteCallback(pRange->pDevIns, pRange->pvUser, GCPhys, &u32Value, cbValue); 1140 1150 #ifdef VBOX_WITH_STATISTICS 1151 if (pStats) 1152 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfWrite), a); 1141 1153 if (pStats && rc != VINF_IOM_HC_MMIO_WRITE) 1142 1154 STAM_COUNTER_INC(&pStats->CTXALLSUFF(Write));
Note:
See TracChangeset
for help on using the changeset viewer.