|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
/***************************************************************************
|
|
|
|
|
* (c) 2015 Timothy Pearson <kb9vqf@pearsoncomputing.net> *
|
|
|
|
|
* Copyright (C) 2004-2005 by Hugo Parente Lima *
|
|
|
|
|
* hugo_pl@users.sourceforge.net *
|
|
|
|
|
* *
|
|
|
|
@ -109,13 +110,13 @@ public:
|
|
|
|
|
inline Mode viewMode() const;
|
|
|
|
|
|
|
|
|
|
/// Total of bytes receiveds
|
|
|
|
|
inline unsigned int totalBytesRx() const;
|
|
|
|
|
inline unsigned long totalBytesRx() const;
|
|
|
|
|
/// Total of bytes transmitted
|
|
|
|
|
inline unsigned int totalBytesTx() const;
|
|
|
|
|
inline unsigned long totalBytesTx() const;
|
|
|
|
|
/// Total of packets receiveds
|
|
|
|
|
inline unsigned int totalPktRx() const;
|
|
|
|
|
inline unsigned long totalPktRx() const;
|
|
|
|
|
/// Total of packets transmitted
|
|
|
|
|
inline unsigned int totalPktTx() const;
|
|
|
|
|
inline unsigned long totalPktTx() const;
|
|
|
|
|
/// RX Speed in bytes per second
|
|
|
|
|
inline double byteSpeedRx() const;
|
|
|
|
|
/// TX Speed in bytes per second
|
|
|
|
@ -224,19 +225,19 @@ KNetStatsView::Mode KNetStatsView::viewMode() const {
|
|
|
|
|
return mOptions.mViewMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
unsigned int KNetStatsView::totalBytesRx() const {
|
|
|
|
|
unsigned long KNetStatsView::totalBytesRx() const {
|
|
|
|
|
return mTotalBytesRx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
unsigned int KNetStatsView::totalBytesTx() const {
|
|
|
|
|
unsigned long KNetStatsView::totalBytesTx() const {
|
|
|
|
|
return mTotalBytesTx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
unsigned int KNetStatsView::totalPktRx() const {
|
|
|
|
|
unsigned long KNetStatsView::totalPktRx() const {
|
|
|
|
|
return mTotalPktRx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
unsigned int KNetStatsView::totalPktTx() const {
|
|
|
|
|
unsigned long KNetStatsView::totalPktTx() const {
|
|
|
|
|
return mTotalPktTx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|