Add JSON logging support to bench_pictures by adding a PictureResultsWriter class...
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 27 May 2014 20:57:44 +0000 (20:57 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 27 May 2014 20:57:44 +0000 (20:57 +0000)
commit3089004cc88e919526e43a8122a74db8f0a7790b
tree2955a280e1fcc3c2c3ede19f673434c5c45281e9
parent44f41293ac94530d08fca2ce8484a7248e7a5e97
Add JSON logging support to bench_pictures by adding a PictureResultsWriter class (in tools/PictureResultsWriter.h) to process logging information, using a very similar style as bench/ResultsWriter.h

JSON format described in code, above PictureJSONResultsWriter class

BUG=skia:
R=bensong@google.com, jcgregorio@google.com

Author: kelvinly@google.com

Review URL: https://codereview.chromium.org/286903025

git-svn-id: http://skia.googlecode.com/svn/trunk@14906 2bbb7eff-a529-9590-31e7-b0007b416f81
bench/ResultsWriter.cpp [new file with mode: 0644]
bench/ResultsWriter.h
bench/TimerData.cpp
bench/TimerData.h
gyp/bench.gyp
gyp/tools.gyp
tools/PictureBenchmark.cpp
tools/PictureBenchmark.h
tools/PictureResultsWriter.h [new file with mode: 0644]
tools/bench_pictures_main.cpp