Fix alignment in benchmark output
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
4c5f4b2b2e
commit
bf5b46c1ee
1 changed files with 5 additions and 4 deletions
|
@ -177,11 +177,12 @@ do { \
|
||||||
* Updated manually as the output of the following command:
|
* Updated manually as the output of the following command:
|
||||||
*
|
*
|
||||||
* sed -n 's/.*[T]IME_PUBLIC.*"\(.*\)",/\1/p' programs/test/benchmark.c |
|
* sed -n 's/.*[T]IME_PUBLIC.*"\(.*\)",/\1/p' programs/test/benchmark.c |
|
||||||
* awk '{print length+2}' | sort -rn | head -n1
|
* awk '{print length+3}' | sort -rn | head -n1
|
||||||
*
|
*
|
||||||
* This computes the maximum length of a title +2 (because we appends "/s").
|
* This computes the maximum length of a title +3, because we appends "/s" and
|
||||||
* (If the value is too small, the only consequence is poor alignement.) */
|
* want at least one space. (If the value is too small, the only consequence
|
||||||
#define TITLE_SPACE 16
|
* is poor alignement.) */
|
||||||
|
#define TITLE_SPACE 17
|
||||||
|
|
||||||
#define MEMORY_MEASURE_INIT \
|
#define MEMORY_MEASURE_INIT \
|
||||||
size_t max_used, max_blocks, max_bytes; \
|
size_t max_used, max_blocks, max_bytes; \
|
||||||
|
|
Loading…
Reference in a new issue