mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
Added QueueSize information to be exported too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9fcc9277c2
commit
e0af833f47
8 changed files with 56 additions and 2 deletions
|
@ -58,11 +58,13 @@ class RsBwRates
|
|||
{
|
||||
public:
|
||||
RsBwRates()
|
||||
:mRateIn(0), mRateOut(0), mMaxRateIn(0), mMaxRateOut(0) {return;}
|
||||
:mRateIn(0), mRateOut(0), mMaxRateIn(0), mMaxRateOut(0), mQueueIn(0), mQueueOut(0) {return;}
|
||||
float mRateIn;
|
||||
float mRateOut;
|
||||
float mMaxRateIn;
|
||||
float mMaxRateOut;
|
||||
int mQueueIn;
|
||||
int mQueueOut;
|
||||
};
|
||||
|
||||
|
||||
|
@ -86,6 +88,7 @@ virtual void getRates(RsBwRates &rates)
|
|||
return;
|
||||
}
|
||||
|
||||
virtual int getQueueSize(bool /* in */) { return 0;}
|
||||
virtual float getRate(bool in)
|
||||
{
|
||||
if (in)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue