summaryrefslogtreecommitdiffstats
path: root/src/cyclictest/cyclictest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cyclictest/cyclictest.c')
-rw-r--r--src/cyclictest/cyclictest.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 158bced..9021670 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1276,17 +1276,16 @@ static void display_help(int error)
" 0 = CLOCK_MONOTONIC (default)\n"
" 1 = CLOCK_REALTIME\n"
"-C --context context switch tracing (used with -b)\n"
- "-d DIST --distance=DIST distance of thread intervals in us default=500\n"
- "-D --duration=t specify a length for the test run\n"
- " default is in seconds, but 'm', 'h', or 'd' maybe added\n"
- " to modify value to minutes, hours or days\n"
+ "-d DIST --distance=DIST distance of thread intervals in us, default=500\n"
+ "-D --duration=TIME specify a length for the test run.\n"
+ " Append 'm', 'h', or 'd' to specify minutes, hours or days.\n"
" --latency=PM_QOS write PM_QOS to /dev/cpu_dma_latency\n"
"-E --event event tracing (used with -b)\n"
"-f --ftrace function trace (when -b is active)\n"
"-F --fifo=<path> create a named pipe at path and write stats to it\n"
"-h --histogram=US dump a latency histogram to stdout after the run\n"
- " (with same priority about many threads)\n"
- " US is the max time to be be tracked in microseconds\n"
+ " US is the max latency time to be be tracked in microseconds\n"
+ " This option runs all threads at the same priority.\n"
"-H --histofall=US same as -h except with an additional summary column\n"
" --histfile=<path> dump the latency histogram to <path> instead of stdout\n"
"-i INTV --interval=INTV base interval of thread in us default=1000\n"
@@ -1296,7 +1295,8 @@ static void display_help(int error)
" This will give you poorer realtime results\n"
" but will not drain your battery so quickly\n"
"-m --mlockall lock current and future memory allocations\n"
- "-M --refresh_on_max delay updating the screen until a new max latency is hit\n"
+ "-M --refresh_on_max delay updating the screen until a new max\n"
+ " latency is hit. Userful for low bandwidth.\n"
"-n --nanosleep use clock_nanosleep\n"
" --notrace suppress tracing\n"
"-N --nsecs print results in ns instead of us (default us)\n"
@@ -1304,20 +1304,23 @@ static void display_help(int error)
"-O TOPT --traceopt=TOPT trace option\n"
"-p PRIO --priority=PRIO priority of highest prio thread\n"
"-P --preemptoff Preempt off tracing (used with -b)\n"
- "-q --quiet print only a summary on exit\n"
- " --priospread spread priority levels starting at specified value\n"
+ " --policy=NAME policy of measurement thread, where NAME may be one\n"
+ " of: other, normal, batch, idle, fifo or rr.\n"
+ " --priospread spread priority levels starting at specified value\n"
+ "-q --quiet print a summary only on exit\n"
"-r --relative use relative timer instead of absolute\n"
"-R --resolution check clock resolution, calling clock_gettime() many\n"
- " times. list of clock_gettime() values will be\n"
+ " times. List of clock_gettime() values will be\n"
" reported with -X\n"
- " --secaligned [USEC] align thread wakeups to the next full second,\n"
+ " --secaligned [USEC] align thread wakeups to the next full second\n"
" and apply the optional offset\n"
"-s --system use sys_nanosleep and sys_setitimer\n"
"-S --smp Standard SMP testing: options -a -t -n and\n"
" same priority of all threads\n"
- " --spike=trigger record all spikes > trigger\n"
- " --spike-nodes these are the number of spikes we can record\n"
- " the default is 1024 if not specified\n"
+ " --spike=<trigger> record all spikes > trigger\n"
+ " --spike-nodes=[num of nodes]\n"
+ " These are the maximum number of spikes we can record.\n"
+ " The default is 1024 if not specified\n"
#ifdef ARCH_HAS_SMI_COUNTER
" --smi Enable SMI counting\n"
#endif
@@ -1337,9 +1340,7 @@ static void display_help(int error)
" format: n:c:v n=tasknum c=count v=value in us\n"
"-w --wakeup task wakeup tracing (used with -b)\n"
"-W --wakeuprt rt task wakeup tracing (used with -b)\n"
- " --dbg_cyclictest print info useful for debugging cyclictest\n"
- " --policy=POLI policy of realtime thread, POLI may be fifo(default) or rr\n"
- " format: --policy=fifo(default) or --policy=rr\n",
+ " --dbg_cyclictest print info useful for debugging cyclictest\n",
tracers
);
if (error)