We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d87ca70 commit 00c936cCopy full SHA for 00c936c
1 file changed
wolfcrypt/benchmark/benchmark.c
@@ -242,7 +242,7 @@
242
243
/* define the max length for each string of metric reported */
244
#ifndef WC_BENCH_MAX_LINE_LEN
245
-#define WC_BENCH_MAX_LINE_LEN 240
+#define WC_BENCH_MAX_LINE_LEN 150
246
#endif
247
248
/* default units per second. See WOLFSSL_BENCHMARK_FIXED_UNITS_* to change */
@@ -264,6 +264,12 @@
264
#define WC_BENCH_STACK_TRACKING
265
266
267
+#if (defined(WC_BENCH_HEAP_TRACKING) || defined(WC_BENCH_STACK_TRACKING)) && \
268
+ (WC_BENCH_MAX_LINE_LEN < 240)
269
+ #undef WC_BENCH_MAX_LINE_LEN
270
+ #define WC_BENCH_MAX_LINE_LEN 240
271
+#endif
272
+
273
#if defined(WC_BENCH_HEAP_TRACKING) || defined(WC_BENCH_STACK_TRACKING)
274
#include <wolfssl/wolfcrypt/mem_track.h>
275
0 commit comments