Changeset 20718 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jun 19, 2009 12:05:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r20716 r20718 493 493 Log2(("slirp_output: pu8Buf=%p cb=%#x (pThis=%p)\n%.*Rhxd\n", pu8Buf, cb, pThis, cb, pu8Buf)); 494 494 495 STAM_COUNTER_RESET(&pThis->StatQueuePktDropped); 496 STAM_COUNTER_RESET(&pThis->StatQueuePktSent); 495 /** @todo r-bird: Why do you reset the counters every time? You won't ever count 496 * higher than ONE then. If you want to record what happened to the last 497 * queued item, use a U8/bool instead to two 64-bit values. */ 498 //STAM_COUNTER_RESET(&pThis->StatQueuePktDropped); 499 //STAM_COUNTER_RESET(&pThis->StatQueuePktSent); 497 500 Assert(pThis); 498 501
Note:
See TracChangeset
for help on using the changeset viewer.