summaryrefslogtreecommitdiffstats
path: root/courgette/ensemble_create.cc
diff options
context:
space:
mode:
authorlaforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 17:33:46 +0000
committerlaforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 17:33:46 +0000
commit7e6b9261d9c928e09c7445f880f2ce10efee8a20 (patch)
tree95190aa9ee4e9e3a7bfa7ae719b991ebeed8a366 /courgette/ensemble_create.cc
parent910d7302e8e6e8225cb2590bb27b4aa040758e6a (diff)
downloadchromium_src-7e6b9261d9c928e09c7445f880f2ce10efee8a20.zip
chromium_src-7e6b9261d9c928e09c7445f880f2ce10efee8a20.tar.gz
chromium_src-7e6b9261d9c928e09c7445f880f2ce10efee8a20.tar.bz2
Fix for bug where 64-bit executables were processed as 32-bit executables.
Added some more logging. TBR=sra Review URL: http://codereview.chromium.org/988002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/ensemble_create.cc')
-rw-r--r--courgette/ensemble_create.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/courgette/ensemble_create.cc b/courgette/ensemble_create.cc
index 6e64474..00de688 100644
--- a/courgette/ensemble_create.cc
+++ b/courgette/ensemble_create.cc
@@ -186,6 +186,9 @@ void FreeGenerators(std::vector<TransformationPatchGenerator*>* generators) {
Status GenerateEnsemblePatch(SourceStream* base,
SourceStream* update,
SinkStream* final_patch) {
+ LOG(INFO) << "start GenerateEnsemblePatch";
+ base::Time start_time = base::Time::Now();
+
Region old_region(base->Buffer(), base->Remaining());
Region new_region(update->Buffer(), update->Remaining());
Ensemble old_ensemble(old_region, "old");
@@ -376,6 +379,9 @@ Status GenerateEnsemblePatch(SourceStream* base,
if (!patch_streams.CopyTo(final_patch))
return C_STREAM_ERROR;
+ LOG(INFO) << "done GenerateEnsemblePatch "
+ << (base::Time::Now() - start_time).InSecondsF() << "s";
+
return C_OK;
}