<div dir="ltr">Thanks Nicolas, <div>Those latencies are reported in nanoseconds, right?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 25, 2019 at 6:39 PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le vendredi 24 mai 2019 à 11:31 -0400, Damian Vicino a écrit :<br>
> Hi, <br>
> I found documentation on how to enable the GStreamer latency tracer exporting variables from the shell as follows:<br>
> <br>
> export GST_TRACERS=latency<br>
> export GST_DEBUG="GST_TRACER:7"<br>
> <br>
> As showed here <a href="https://gstreamer.freedesktop.org/documentation/design/tracing.html?gi-language=c#print-reported-latencies-for-each-element" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/design/tracing.html?gi-language=c#print-reported-latencies-for-each-element</a><br>
> <br>
> I got log lines as the following one:<br>
> 0:35:08.123456789     362   0x7f434c00fd40  TRACE           GST_TRACER :0:: latency, src=(string)nicesrc4_src, sink=(string)nicesink2_sink, time=(guint64)123456789, ts=(guint64)1234567890123<br>
> <br>
> I couldn't find documentation of that are the meaning of the different parts of that log line.<br>
> <br>
> Can someone point me to the right documentation or help me understand what I'm reading there?<br>
<br>
Per tracer documentation is a bit of a work in progress. Here's a quick<br>
guide:<br>
  src/sink: Name of the pad (this has been changed in newer GStreamer)<br>
  time: That's the actual amount of time it too to process one buffer<br>
  ts: That's when was this latency reported, should mostly match<br>
<br>
> <br>
> Best regards, <br>
> Damian<br>
> <br>
> <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>