From: Sven-Thorsten Dietrich <sdietrich@xxxxxxx> Date: Sat, 21 Mar 2009 16:41:40 -0700 Subject: [PATCH] Change output format to allow 6 digits. This is useful when testing PREEMPT_NONE Kernels with cyclictest, where latencies approaching 1 second can be observed. Signed-off-by: Sven-Thorsten Dietrich <sdietrich@xxxxxxx> --- src/cyclictest/cyclictest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index dad68aa..e7485d1 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -891,7 +891,7 @@ static void print_hist(struct thread_param *par, int nthreads) printf("# Histogram\n"); for (i = 0; i < histogram; i++) { - printf("%05d ", i); + printf("%06d ", i); for (j = 0; j < nthreads; j++) { unsigned long curr_latency=par[j].stats->hist_array[i]; -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html