diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:17:51 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:17:51 +0200 |
commit | 237aedc590b58c0e69d7dfcac92b5f767b7c004a (patch) | |
tree | 83f361a82ba483f2daf83b677e8685cd953812d9 /synchronization.h | |
parent | 4.5 (diff) | |
download | FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.gz FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.bz2 FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.zip |
4.6
Diffstat (limited to 'synchronization.h')
-rw-r--r-- | synchronization.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/synchronization.h b/synchronization.h index 6cf32de5..34494ddd 100644 --- a/synchronization.h +++ b/synchronization.h @@ -16,8 +16,9 @@ namespace zen { -class SyncStatistics +class SyncStatistics //this class counts logical operations (create, update, delete) + bytes { + //-> note the fundamental difference to counting disk accesses! public: SyncStatistics(const HierarchyObject& hierObj); SyncStatistics(const FolderComparison& folderCmp); @@ -37,8 +38,8 @@ public: typedef std::vector<std::pair<Zstring, std::wstring> > ConflictTexts; // Pair(filename/conflict text) const ConflictTexts& getFirstConflicts() const { return firstConflicts; } - zen::UInt64 getDataToProcess() const { return dataToProcess; } - size_t getRowCount() const { return rowsTotal; } + zen::Int64 getDataToProcess() const { return dataToProcess; } + size_t getRowCount() const { return rowsTotal; } private: void init(); @@ -54,7 +55,7 @@ private: int deleteLeft, deleteRight; int conflict; ConflictTexts firstConflicts; //save the first few conflict texts to display as a warning message - zen::UInt64 dataToProcess; + zen::Int64 dataToProcess; size_t rowsTotal; }; |