Release: Babeltrace 2.0.4 "Amqui"
[babeltrace.git] / doc / man / babeltrace2-filter.utils.muxer.7.txt
CommitLineData
2facbdc3 1= babeltrace2-filter.utils.muxer(7)
838dd456 2:manpagetype: component class
2facbdc3 3:revdate: 14 September 2019
838dd456
PP
4
5
2facbdc3
PP
6== NAME
7
8babeltrace2-filter.utils.muxer - Babeltrace 2's message muxer filter
9component class
10
11
12== DESCRIPTION
13
14A Babeltrace~2 compcls:filter.utils.muxer message iterator muxes
15the messages that it consumes from one or more upstream message
16iterators into a linear sequence of messages ordered by time.
17
18----
19 +-----------------+
20 | flt.utils.muxer |
21 | |
22Messages -->@ in0 out @--> Sorted messages
23Messages -->@ in1 |
24Messages -->@ in2 |
25 @ in3 |
26 +-----------------+
838dd456 27----
838dd456 28
2facbdc3 29include::common-see-babeltrace2-intro.txt[]
838dd456 30
2facbdc3
PP
31A compcls:filter.utils.muxer message iterator does not alter the
32messages it consumes: it only sorts them.
838dd456 33
2facbdc3
PP
34The message iterator creates one upstream message iterator per connected
35input port.
838dd456 36
2facbdc3
PP
37NOTE: To support muxing messages with different default clock classes,
38the message iterator converts the message times to nanoseconds from the
39common origin (Unix epoch, for example). This means that the resulting
40message sequence could be incorrect if one or more clock classes have a
41frequency which is greater than 1~GHz.
838dd456
PP
42
43
2facbdc3
PP
44== PORTS
45
46----
47+-----------------+
48| flt.utils.muxer |
49| |
50@ in0 out @
51@ ... |
52+-----------------+
53----
838dd456 54
838dd456 55
2facbdc3 56=== Input
838dd456 57
838dd456 58`inN`, where `N` is a decimal integer starting at 0::
2facbdc3
PP
59 Input port on which a compcls:filter.utils.muxer message iterator
60 creates an upstream message iterator to consumes messages from.
838dd456 61+
2facbdc3 62When the component is initialized, its only input port is
838dd456 63`in0`. When you connect the `in0` port, the component creates
2facbdc3 64the `in1` input port, and so on.
838dd456 65+
2facbdc3
PP
66In other words, a compcls:filter.utils.muxer component always has an
67available input port.
838dd456
PP
68
69
2facbdc3 70=== Output
838dd456 71
2facbdc3
PP
72`out`::
73 Single output port.
838dd456
PP
74
75
76include::common-footer.txt[]
77
78
2facbdc3
PP
79== SEE ALSO
80
81man:babeltrace2-intro(7),
82man:babeltrace2-plugin-utils(7)
This page took 0.047033 seconds and 4 git commands to generate.