summaryrefslogtreecommitdiff
path: root/benchtests/json-lib.h
AgeCommit message (Collapse)Author
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-04-11benchtests: Improve readability of JSON outputWill Newton
Add a small library to print JSON values and use it to improve the readability of the benchmark output and the readability of the benchmark code. ChangeLog: 2014-04-11 Will Newton <will.newton@linaro.org> * benchtests/Makefile (extra-objs): Add json-lib.o. (bench-func): Tidy up JSON output. * benchtests/bench-skeleton.c: Include json-lib.h. (main): Use JSON library functions to do output of benchmark results. * benchtests/bench-timing-type.c (main): Output the timing type simply, leaving formatting to the user. * benchtests/json-lib.c: New file. * benchtests/json-lib.h: Likewise.