Changeset 43618 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Oct 11, 2012 1:59:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r43507 r43618 496 496 { 497 497 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), m InterfaceName(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 */ }; 500 500 ~HostNetworkLoadRaw() { delete mRx; delete mTx; }; 501 501 … … 510 510 511 511 private: 512 com::Utf8Str mShortName; 512 513 com::Utf8Str mInterfaceName; 513 514 SubMetric *mRx;
Note:
See TracChangeset
for help on using the changeset viewer.