mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 16:21:29 -04:00
fixed bugs in upload speed computation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6ac5d40df9
commit
bb904ea8e8
2 changed files with 28 additions and 11 deletions
|
@ -65,8 +65,12 @@ virtual int initializeFileAttrs(); /* does for both */
|
|||
std::string lastRequestor;
|
||||
uint64_t req_loc;
|
||||
uint32_t req_size;
|
||||
clock_t lastTS;
|
||||
time_t lastTS;
|
||||
clock_t lastTS_t;
|
||||
|
||||
// these two are used for speed estimation
|
||||
float transfer_rate ;
|
||||
uint32_t total_size ;
|
||||
|
||||
/*
|
||||
* Mutex Required for stuff below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue