- Timestamp:
- Feb 9, 2007 12:34:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r805 r808 1971 1971 static int pcnetAsyncTransmit(PCNetState *pData) 1972 1972 { 1973 #ifdef VBOX_WITH_STATISTICS1974 1973 unsigned cFlushIrq = 0; 1975 #endif1976 1974 1977 1975 Assert(PDMCritSectIsOwner(&pData->CritSect)); … … 2155 2153 || tmd.tmd1.err) 2156 2154 { 2157 #ifdef VBOX_WITH_STATISTICS2158 2155 cFlushIrq++; 2159 #endif2160 2156 pData->aCSR[0] |= 0x0200; /* set TINT */ 2161 2157 } … … 2165 2161 } while (CSR_TXON(pData)); /* transfer on */ 2166 2162 2167 #ifdef VBOX_WITH_STATISTICS2168 2163 if (cFlushIrq) 2164 { 2169 2165 STAM_COUNTER_INC(&pData->aStatXmitFlush[RT_MIN(cFlushIrq, ELEMENTS(pData->aStatXmitFlush)) - 1]); 2170 #endif 2171 pcnetUpdateIrq(pData); 2166 pcnetUpdateIrq(pData); 2167 } 2168 2172 2169 STAM_PROFILE_ADV_STOP(&pData->StatTransmit, a); 2173 2170
Note:
See TracChangeset
for help on using the changeset viewer.