hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// ** The above line should force tbl to be a preprocessor **
// Man page for latency
//
// Copyright (C) 2008 Roland Stigge <stigge@antcom.de>
//
// You may distribute under the terms of the GNU General Public
// License as specified in the file COPYING that comes with the
// Xenomai distribution.
//
//
LATENCY(1)
==========
:doctype: manpage
:revdate: 2008/04/19
:man source: Xenomai
:man version: {xenover}
:man manual: Xenomai Manual
 
NAME
-----
latency - Xenomai timer latency benchmark
 
SYNOPSIS
---------
// The general command line
*latency* [ options ]
 
DESCRIPTION
------------
*latency* is part of the Xenomai test suite. It is a timer latency
benchmark program.  The system must run a suitable Xenomai enabled kernel with
the respective module (xeno_timerbench).
 
OPTIONS
--------
*latency* accepts the following options:
 
*-h*::
print histograms of min, avg, max latencies
 
*-g <file>*::
dump histogram to <file> in a format easily readable with gnuplot. An
example script for gnuplot may be found in scripts/histo.gp in Xenomai
sources distribution
 
*-s*::
print statistics of min, avg, max latencies
 
*-H <histogram-size>*::
default = 200, increase if your last bucket is full
 
*-B <bucket-size>*::
default = 1000ns, decrease for more resolution
 
*-p <period_us>*::
sampling period
 
*-l <data-lines per header>*::
default=21, 0 to suppress headers
 
*-T <test_duration_seconds>*::
default=0, so ^C to end
 
*-q*::
suppresses RTD, RTH lines if -T is used
 
*-t <test_mode>*::
0=user task (default), 1=kernel task, 2=timer IRQ
 
*-f*::
freeze trace for each new max latency
 
*-c <cpu>*::
pin measuring task down to given CPU
 
*-P <priority>*::
task priority (test mode 0 and 1 only)
 
*-b*::
break upon mode switch
 
AUTHOR
-------
*latency* was written by Philippe Gerum. This man page
was written by Roland Stigge.