From aef5440bdf486d805895ebfe6bce565b2eab8feb Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 7 Nov 2012 19:59:44 +0000 Subject: Replace magic number 1000 with MILLI_SEC_IN_SEC when initialising timers. Add the start of ExperimentalSnapshotMode support. --- lib/backupstore/BackupStoreFileDiff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/backupstore') 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 if(pDiffTimer && pDiffTimer->IsManaged()) { - maximumDiffingTime = Timer(pDiffTimer->GetMaximumDiffingTime() * 1000, - "MaximumDiffingTime"); + maximumDiffingTime = Timer(pDiffTimer->GetMaximumDiffingTime() * + MILLI_SEC_IN_SEC, "MaximumDiffingTime"); } std::map goodnessOfFit; -- cgit v1.2.3