diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-29 09:37:44 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-29 09:37:44 +0530 |
commit | cb5e4aada7f044fc029dd64b31411a23bb09c287 (patch) | |
tree | 24f50d1418ef624707a8745737c89086944528a5 /libio/rewind.c | |
parent | cf806aff6067273307d958f35c0a4cd0b0d40e80 (diff) | |
download | glibc-cb5e4aada7f044fc029dd64b31411a23bb09c287.tar glibc-cb5e4aada7f044fc029dd64b31411a23bb09c287.tar.gz glibc-cb5e4aada7f044fc029dd64b31411a23bb09c287.tar.bz2 glibc-cb5e4aada7f044fc029dd64b31411a23bb09c287.zip |
Make bench.out in json format
This patch changes the output format of the main benchmark output file
(bench.out) to an extensible format. I chose JSON over XML because in
addition to being extensible, it is also not too verbose.
Additionally it has good support in python.
The significant change I have made in terms of functionality is to put
timing information as an attribute in JSON instead of a string and to
do that, there is a separate program that prints out a JSON snippet
mentioning the type of timing (hp_timing or clock_gettime). The mean
timing has now changed from iterations per unit to actual timing per
iteration.
Diffstat (limited to 'libio/rewind.c')
0 files changed, 0 insertions, 0 deletions