diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:01:50 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:01:50 +0000 |
commit | d5ceb91979a8f47ca1e7e22a608eeaa7db933a14 (patch) | |
tree | 320b8162c05bac48e36fc5b689e7b74a29a904f4 /media | |
parent | c820ed80c8a3c8c814afbf51db8a92e2403173b7 (diff) | |
download | chromium_src-d5ceb91979a8f47ca1e7e22a608eeaa7db933a14.zip chromium_src-d5ceb91979a8f47ca1e7e22a608eeaa7db933a14.tar.gz chromium_src-d5ceb91979a8f47ca1e7e22a608eeaa7db933a14.tar.bz2 |
Add 'Hash' to printf for test corpus script compatibility and future hash compatibility.
Review URL: http://codereview.chromium.org/276025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/bench/bench.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/bench/bench.cc b/media/bench/bench.cc index f1c3248..03e9d0f 100644 --- a/media/bench/bench.cc +++ b/media/bench/bench.cc @@ -99,7 +99,7 @@ int main(int argc, const char** argv) { << "Enable fast2 flag\n" << " --flush " << "Flush last frame\n" - << " --djb2 " + << " --djb2 (aka --hash) " << "Hash decoded buffers (DJB2)\n" << " --md5 " << "Hash decoded buffers (MD5)\n" @@ -516,13 +516,13 @@ int main(int argc, const char** argv) { << " ms" << std::endl; } if (hash_djb2) { - *log_out << " DJB2:" << std::setw(11) << hash_value + *log_out << " DJB2 Hash:" << std::setw(11) << hash_value << " " << in_path << std::endl; } if (hash_md5) { MD5Digest digest; // The result of the computation. MD5Final(&digest, &ctx); - *log_out << " MD5: " << MD5DigestToBase16(digest) + *log_out << " MD5 Hash: " << MD5DigestToBase16(digest) << " " << in_path << std::endl; } #if defined(OS_WIN) |