summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-11-07 19:59:44 +0000
committerChris Wilson <chris+github@qwirx.com>2012-11-07 19:59:44 +0000
commitaef5440bdf486d805895ebfe6bce565b2eab8feb (patch)
tree820b147d415e625a8ddb5010bfbdcbd2dae579bc /lib/backupstore
parent534eafd445f6a52d63a0dea5caedfcb8e76463c7 (diff)
Replace magic number 1000 with MILLI_SEC_IN_SEC when initialising timers.
Add the start of ExperimentalSnapshotMode support.
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/BackupStoreFileDiff.cpp4
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;