bench-slope: add unaligned buffer mode
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 3 Jul 2016 15:39:40 +0000 (18:39 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 3 Jul 2016 15:39:42 +0000 (18:39 +0300)
commit496790940753226f96b731a43d950bd268acd97a
tree3b712ab09b0152a74376e9349b39e7fa751936dd
parentcb79630ec567a5f2e03e5f863cda168faa7b8cc8
bench-slope: add unaligned buffer mode

* tests/bench-slope.c (unaligned_mode): New.
(do_slope_benchmark): Unalign buffer if in unaligned mode enabled.
(print_help, main): Add '--unaligned' parameter.
--

Patch adds --unaligned parameter to allow measurement of unaligned
buffer overhead.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
tests/bench-slope.c