Skip to contentSkip to conversation

Cyclictest Hiistogram Support

PATCH New Sven-Thorsten Dietrich 1 participant 1 message Oct 21, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Cyclictest Hiistogram Support

Subject: Add histogram support to cyclictest
From: Sven-Thorsten Dietrich <[email protected]>

Add -h <size> parameter and functionality to log histograms of latencies in cyclictest.

src/cyclictest/cyclictest.8 +4 -1
index 9827458..82c2c43 100644
@@ -16,7 +16,7 @@
 cyclictest \- High resolution test program
 .SH SYNOPSIS
 .B cyclictest
-.RI "[ \-hfmnqrsv ] [\-a " proc " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] [\-i " intv " ] [\-l " loop " ] [\-o " red " ] [\-p " prio " ] [\-t " num " ]"
+.RI "[ \-hfmnqrsv ] [\-a " proc " ] [\-b " usec " ] [\-c " clock " ] [\-d " dist " ] [\-h " histogram " ] [\-i " intv " ] [\-l " loop " ] [\-o " red " ] [\-p " prio " ] [\-t " num " ]"
 .\" .SH DESCRIPTION
 .\" This manual page documents briefly the
 .\" .B cyclictest commands.
@@ -81,6 +81,9 @@ Set the distance of thread intervals in microseconds (default is 500us). When cy
 .B \-f, \-\-ftrace
 Enable function tracing using ftrace as tracer. This option is available only with \-b.
 .TP
+.B \-h=MAXLATENCYINUS
+Dump latency histogram to stdout.
+.TP
 .B \-i, \-\-interval=INTV
 Set the base interval of the thread(s) in microseconds (default is 1000us). This sets the interval of the first thread. See also \-d.
 .TP
src/cyclictest/cyclictest.c +64 -4

163 lines not on this page · raw message