VirtualBox

Changeset 24611 in vbox for trunk/src


Ignore:
Timestamp:
Nov 12, 2009 4:31:25 PM (15 years ago)
Author:
vboxsync
Message:

VirtIO-net: update the counters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r24470 r24611  
    16471647    {
    16481648        rc = vnetHandleRxPacket(pState, pvBuf, cb);
     1649        STAM_REL_COUNTER_ADD(&pState->StatReceiveBytes, cb);
    16491650    }
    16501651    vpciSetReadLed(&pState->VPCI, false);
     
    17741775            int rc = pState->pDrv->pfnSend(pState->pDrv, pFrame, uOffset);
    17751776            STAM_PROFILE_ADV_STOP(&pState->StatTransmitSend, a);
     1777            STAM_REL_COUNTER_ADD(&pState->StatTransmitBytes, uOffset);
    17761778            RTMemFree(pFrame);
    17771779        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette