VirtualBox

Changeset 43618 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Oct 11, 2012 1:59:10 PM (12 years ago)
Author:
vboxsync
Message:

Main/Metrics: Fixes for Solaris network metrics (#6345)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r43507 r43618  
    496496    {
    497497    public:
    498         HostNetworkLoadRaw(CollectorHAL *hal, ComPtr<IUnknown> object, com::Utf8Str name, com::Utf8Str ifname, uint32_t speed, SubMetric *rx, SubMetric *tx)
    499             : BaseMetric(hal, name, object), mInterfaceName(ifname), mRx(rx), mTx(tx), mRxPrev(0), mTxPrev(0), mRc(VINF_SUCCESS) { mSpeed = (uint64_t)speed * (1000000/8); /* Convert to bytes/sec */ };
     498        HostNetworkLoadRaw(CollectorHAL *hal, ComPtr<IUnknown> object, com::Utf8Str name, com::Utf8Str shortname, com::Utf8Str ifname, uint32_t speed, SubMetric *rx, SubMetric *tx)
     499            : BaseMetric(hal, name, object), mShortName(shortname), mInterfaceName(ifname), mRx(rx), mTx(tx), mRxPrev(0), mTxPrev(0), mRc(VINF_SUCCESS) { mSpeed = (uint64_t)speed * (1000000/8); /* Convert to bytes/sec */ };
    500500        ~HostNetworkLoadRaw() { delete mRx; delete mTx; };
    501501
     
    510510
    511511    private:
     512        com::Utf8Str  mShortName;
    512513        com::Utf8Str  mInterfaceName;
    513514        SubMetric    *mRx;
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