Changeset 43618 in vbox for trunk/src/VBox/Main/src-server/Performance.cpp
- Timestamp:
- Oct 11, 2012 1:59:10 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 81331
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/Performance.cpp
r43507 r43618 656 656 mRx->init(mLength); 657 657 mTx->init(mLength); 658 int rc = mHAL->getRawHostNetworkLoad(m InterfaceName.c_str(), &mRxPrev, &mTxPrev);659 AssertRC(rc);658 int rc = mHAL->getRawHostNetworkLoad(mShortName.c_str(), &mRxPrev, &mTxPrev); 659 //AssertRC(rc); 660 660 } 661 661 … … 679 679 uint64_t rx, tx; 680 680 681 mRc = mHAL->getRawHostNetworkLoad(m InterfaceName.c_str(), &rx, &tx);681 mRc = mHAL->getRawHostNetworkLoad(mShortName.c_str(), &rx, &tx); 682 682 if (RT_SUCCESS(mRc)) 683 683 { … … 687 687 if (RT_UNLIKELY(mSpeed * getPeriod() == 0)) 688 688 { 689 Assert(mSpeed * getPeriod()); 690 LogFlowThisFunc(("Impossible! speed=%llu period=%d.\n", mSpeed, getPeriod())); 689 LogFlowThisFunc(("Check cable for %s! speed=%llu period=%d.\n", mShortName.c_str(), mSpeed, getPeriod())); 691 690 mRx->put(0); 692 691 mTx->put(0);
Note:
See TracChangeset
for help on using the changeset viewer.