Add a class to write the output of the benchmark. Add output as CSV.
authorBenjamin Poulain <benjamin.poulain@nokia.com>
Mon, 8 Mar 2010 18:45:46 +0000 (19:45 +0100)
committerBenjamin Poulain <benjamin.poulain@nokia.com>
Tue, 9 Mar 2010 07:12:24 +0000 (08:12 +0100)
commitcaa78edd18d48fdf92de918fa875a05ada8487d2
treed110d96fe5d0ca25e941c2a8b397dd01966fa178
parent3a5aa1969f43d363395d6e400f993d95e3e4f793
Add a class to write the output of the benchmark. Add output as CSV.

In order to output in different format and to different target, the
class BenchmarkOutputWriter was added. An instance of this class
is used to write the output of the benchmark.

Two subclasses were written: BenchmarkOutputHuman to output as the
old function, human readable results.
And BenchmarkOutputCsv, which output the results as CSV.

Reviewed-by: Viatcheslav Ostapenko
19 files changed:
common.pri
common/benchmark.cc
common/benchmark.h
common/benchmarkoutputwriter.cpp [new file with mode: 0644]
common/benchmarkoutputwriter.h [new file with mode: 0644]
common/databasetests.h
reductions/float_width/main.cpp
reductions/image_cycling/main.cpp
reductions/image_cycling_webcore/main.cpp
reductions/image_loading/main.cpp
reductions/javascript_parsing/main.cpp
reductions/loading_standalone/tst_loading.cpp
tests/cycler/tst_cycler.cpp
tests/graphicspainting/tst_graphicspainting.cpp
tests/graphicsscrolling/tst_graphicsscrolling.cpp
tests/layout/tst_layout.cpp
tests/loading/tst_loading.cpp
tests/painting/tst_painting.cpp
tests/scrolling/tst_scrolling.cpp