diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-11-07 19:59:44 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-11-07 19:59:44 +0000 |
commit | aef5440bdf486d805895ebfe6bce565b2eab8feb (patch) | |
tree | 820b147d415e625a8ddb5010bfbdcbd2dae579bc /lib | |
parent | 534eafd445f6a52d63a0dea5caedfcb8e76463c7 (diff) |
Replace magic number 1000 with MILLI_SEC_IN_SEC when initialising timers.
Add the start of ExperimentalSnapshotMode support.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupstore/BackupStoreFileDiff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backupstore/BackupStoreFileDiff.cpp b/lib/backupstore/BackupStoreFileDiff.cpp index b39097db..ce38fabd 100644 --- a/lib/backupstore/BackupStoreFileDiff.cpp +++ b/lib/backupstore/BackupStoreFileDiff.cpp @@ -469,8 +469,8 @@ static void SearchForMatchingBlocks(IOStream &rFile, std::map<int64_t, int64_t> if(pDiffTimer && pDiffTimer->IsManaged()) { - maximumDiffingTime = Timer(pDiffTimer->GetMaximumDiffingTime() * 1000, - "MaximumDiffingTime"); + maximumDiffingTime = Timer(pDiffTimer->GetMaximumDiffingTime() * + MILLI_SEC_IN_SEC, "MaximumDiffingTime"); } std::map<int64_t, int32_t> goodnessOfFit; |