mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 01:01:40 -04:00
added display of hashing speed. Changed hashing buffer size to 10MB to improve performance
This commit is contained in:
parent
2e9f5202e0
commit
3bb694f439
4 changed files with 49 additions and 21 deletions
|
@ -140,5 +140,11 @@ private:
|
|||
uint64_t mTotalHashedSize ;
|
||||
uint64_t mTotalFilesToHash ;
|
||||
time_t mLastSaveTime ;
|
||||
|
||||
// The following is used to estimate hashing speed.
|
||||
|
||||
double mHashingTime ;
|
||||
uint64_t mHashedBytes ;
|
||||
uint32_t mCurrentHashingSpeed ; // in MB/s
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue