Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(955)

Unified Diff: courgette/third_party/bsdiff_create.cc

Issue 3904002: Convert LOG(INFO) to VLOG(1) - courgette/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« courgette/encoded_program.cc ('K') | « courgette/simple_delta.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/bsdiff_create.cc
===================================================================
--- courgette/third_party/bsdiff_create.cc (revision 63075)
+++ courgette/third_party/bsdiff_create.cc (working copy)
@@ -203,7 +203,7 @@
SinkStream* patch_stream)
{
base::Time start_bsdiff_time = base::Time::Now();
- LOG(INFO) << "Start bsdiff";
+ VLOG(1) << "Start bsdiff";
size_t initial_patch_stream_length = patch_stream->Length();
SinkStreamSet patch_streams;
@@ -236,8 +236,8 @@
base::Time q_start_time = base::Time::Now();
qsufsort(I, V, old, oldsize);
- LOG(INFO) << " done qsufsort "
- << (base::Time::Now() - q_start_time).InSecondsF();
+ VLOG(1) << " done qsufsort "
+ << (base::Time::Now() - q_start_time).InSecondsF();
V.clear();
const uint8* newbuf = new_stream->Buffer();
@@ -398,9 +398,9 @@
control_stream_seeks->WriteVarint32Signed(seek_adjustment);
++control_length;
#ifdef DEBUG_bsmedberg
- LOG(INFO) << StringPrintf(
- "Writing a block: copy: %-8u extra: %-8u seek: %+-9d",
- copy_count, extra_count, seek_adjustment);
+ VLOG(1) << StringPrintf("Writing a block: copy: %-8u extra: %-8u seek: "
+ "%+-9d", copy_count, extra_count,
+ seek_adjustment);
#endif
lastscan = scan - lenb; // Include the backward extension in seed.
@@ -427,17 +427,17 @@
size_t diff_skips_length = diff_skips->Length();
patch_streams.CopyTo(patch_stream);
- LOG(INFO) << "Control tuples: " << control_length
- << " copy bytes: " << diff_bytes_length
- << " mistakes: " << diff_bytes_nonzero
- << " (skips: " << diff_skips_length << ")"
- << " extra bytes: " << extra_bytes_length;
+ VLOG(1) << "Control tuples: " << control_length
+ << " copy bytes: " << diff_bytes_length
+ << " mistakes: " << diff_bytes_nonzero
+ << " (skips: " << diff_skips_length << ")"
+ << " extra bytes: " << extra_bytes_length;
- LOG(INFO) << "Uncompressed bsdiff patch size "
- << patch_stream->Length() - initial_patch_stream_length;
+ VLOG(1) << "Uncompressed bsdiff patch size "
+ << patch_stream->Length() - initial_patch_stream_length;
- LOG(INFO) << "End bsdiff "
- << (base::Time::Now() - start_bsdiff_time).InSecondsF();
+ VLOG(1) << "End bsdiff "
+ << (base::Time::Now() - start_bsdiff_time).InSecondsF();
return OK;
}
« courgette/encoded_program.cc ('K') | « courgette/simple_delta.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698