From mboxrd@z Thu Jan 1 00:00:00 1970 From: pproulx@efficios.com (Philippe Proulx) Date: Tue, 28 Apr 2020 14:42:01 -0400 (EDT) Subject: [lttng-dev] [RFC PATCH CTF 2/3] Clarify monotonicity requirement on timestamp begin In-Reply-To: <20200423205226.496-3-mathieu.desnoyers@efficios.com> References: <20200423205226.496-1-mathieu.desnoyers@efficios.com> <20200423205226.496-3-mathieu.desnoyers@efficios.com> Message-ID: <1480394831.72907.1588099321783.JavaMail.zimbra@efficios.com> ----- Original Message ----- > From: "Mathieu Desnoyers" > To: "gbastien+lttng" , "Matthew Khouzam" , > diamon-discuss at linuxfoundation.org, pproulx at efficios.com, "Jeremie Galarneau" > Cc: "lttng-dev" , "Mathieu Desnoyers" > Sent: Thursday, 23 April, 2020 16:52:25 > Subject: [RFC PATCH CTF 2/3] Clarify monotonicity requirement on timestamp begin > Signed-off-by: Mathieu Desnoyers > --- > common-trace-format-specification.md | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/common-trace-format-specification.md > b/common-trace-format-specification.md > index f5fea51..53b70f4 100644 > --- a/common-trace-format-specification.md > +++ b/common-trace-format-specification.md > @@ -836,10 +836,12 @@ TSDL metadata): > range between these timestamps should include all event timestamps > assigned to events contained within the packet. The timestamp at the > beginning of an event packet is guaranteed to be below or equal the > - timestamp at the end of that event packet. The timestamp at the end > - of an event packet is guaranteed to be below or equal the > - timestamps at the end of any following packet within the same stream. > - See [Clocks](#spec8) for more detail. > + timestamp at the end of that event packet. The timestamp at the > + beginning of an event packet is guaranteed to be above or equal the "greater than or equal to" > + timestamps at the beginning of any prior packet within the same > + stream. The timestamp at the end of an event packet is guaranteed to > + be below or equal the timestamps at the end of any following packet "less than or equal to" Phil > + within the same stream. See [Clocks](#spec8) for more detail. > * **Events discarded count**. Snapshot of a per-stream > free-running counter, counting the number of events discarded that > were supposed to be written in the stream after the last event in > -- > 2.11.0