added display of hashing speed. Changed hashing buffer size to 10MB to improve performance

This commit is contained in:
csoler 2017-10-29 21:24:34 +01:00
parent 2e9f5202e0
commit 3bb694f439
4 changed files with 49 additions and 21 deletions

View file

@ -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
};