hbench: add tiny wrapper around stopwatch_t
commitebb0835c2c47eb2e0f1fd4e27708490ece3c25db
authorVojtech Horky <vojtech.horky@gmail.com>
Mon, 7 Jan 2019 12:56:22 +0000 (7 13:56 +0100)
committerVojtech Horky <vojtech.horky@gmail.com>
Mon, 7 Jan 2019 12:56:22 +0000 (7 13:56 +0100)
tree70a54ad06bd5bd30e91e351daa4e4988b3dea97d
parenta787081a79dcfffa35f9e024d6587817108cf357
hbench: add tiny wrapper around stopwatch_t

This prepares the harness for future extensions when more than wallclock
time would be prepared. The data would be stored inside the new
structure and the actual benchmarks would not need to be modified at all
(they really should not care which metrics are collected).
uspace/app/hbench/csv.c
uspace/app/hbench/doc/doxygroups.h
uspace/app/hbench/fs/dirread.c
uspace/app/hbench/fs/fileread.c
uspace/app/hbench/hbench.h
uspace/app/hbench/ipc/ns_ping.c
uspace/app/hbench/ipc/ping_pong.c
uspace/app/hbench/main.c
uspace/app/hbench/malloc/malloc1.c
uspace/app/hbench/malloc/malloc2.c