* [PATCH] cyclictest: change-output-format-to-allow-6-digits.patch
@ 2009-07-02 2:02 Sven-Thorsten Dietrich
2009-07-02 14:49 ` Clark Williams
0 siblings, 1 reply; 2+ messages in thread
From: Sven-Thorsten Dietrich @ 2009-07-02 2:02 UTC (permalink / raw)
To: Clark Williams; +Cc: linux-rt-users
From: Sven-Thorsten Dietrich <sdietrich@suse.de>
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@suse.de>
---
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];
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cyclictest: change-output-format-to-allow-6-digits.patch
2009-07-02 2:02 [PATCH] cyclictest: change-output-format-to-allow-6-digits.patch Sven-Thorsten Dietrich
@ 2009-07-02 14:49 ` Clark Williams
0 siblings, 0 replies; 2+ messages in thread
From: Clark Williams @ 2009-07-02 14:49 UTC (permalink / raw)
To: Sven-Thorsten Dietrich; +Cc: linux-rt-users
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
On Wed, 01 Jul 2009 19:02:12 -0700
Sven-Thorsten Dietrich <sven@thebigcorporation.com> wrote:
> From: Sven-Thorsten Dietrich <sdietrich@suse.de>
> 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.
>
Thanks, applied.
v0.45 has been pushed to kernel.org (git and tarball).
Clark
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-02 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 2:02 [PATCH] cyclictest: change-output-format-to-allow-6-digits.patch Sven-Thorsten Dietrich
2009-07-02 14:49 ` Clark Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).