From 649b0a0ddbff69ab0a044a4fdc9ac9cb0a9d5d76 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sun, 9 Dec 2012 10:29:54 +0400 Subject: [PATCH] Improve debug printing in test_stack * tests/test_stack.c (main): Add debug printing of exper_n, nthreads, max_nthreads and list_length before add_elements call (if VERBOSE). --- tests/test_stack.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_stack.c b/tests/test_stack.c index f826fc7..be108d9 100644 --- a/tests/test_stack.c +++ b/tests/test_stack.c @@ -241,6 +241,11 @@ int main(int argc, char **argv) long long start_time; list_element * le; +# ifdef VERBOSE + printf("Before add_elements: exper_n=%d, nthreads=%d," + " max_nthreads=%d, list_length=%d\n", + exper_n, nthreads, max_nthreads, list_length); +# endif add_elements(list_length); # ifdef VERBOSE printf("Initial list (nthreads = %d):\n", nthreads); -- 2.50.0