about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-04-08 10:18:16 +0100
committerWill Newton <will.newton@linaro.org>2014-04-11 16:05:03 +0100
commit970c602aa60bb29845c445c18d7b20f7c4552b78 (patch)
tree734a1f22c1c51cf3cd9d8c94e42a0f0e4a41ab5a /sysdeps
parent36875b06e0ed7f137190b9228bef553adfc338ba (diff)
downloadglibc-970c602aa60bb29845c445c18d7b20f7c4552b78.tar.gz
glibc-970c602aa60bb29845c445c18d7b20f7c4552b78.tar.xz
glibc-970c602aa60bb29845c445c18d7b20f7c4552b78.zip
benchtests: Improve readability of JSON output
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.
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions