gstreamer/plugins/tracers
Nicolas Dufresne 41e35c334b latency-tracer: Exclude synchronization time
The goal of this tracer is to measure the processing latency between a
src and a sink. In push mode, the time was read after the chain function
have returned. As the amount of time we wait to get synched is reverse
to the amount of latency the source introduced, the result was quite
surprising.

This patch moves the latency calculation in the pre-push hook. When
there is no processing in a a pipeline (e.g. fakesrc ! fakesink), the
latency will now be 0 as it's supposed to. For pull mode, the code was
already correct. When GstBaseSink operate in pull mode, the processing
time is done durring the pull, so pull-post is the right hook. The
synchronization will happen after the pull has ended. Note that
GstBaseSink rarely operate in pull mode.

https://bugzilla.gnome.org/show_bug.cgi?id=788431
2017-10-30 15:33:15 -04:00
..
.gitignore tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstlatency.c latency-tracer: Exclude synchronization time 2017-10-30 15:33:15 -04:00
gstlatency.h tracer: split into tracer and tracerutils 2015-10-05 20:59:39 +02:00
gstleaks.c leaks: Handle subclasses in filters even for unhandled/lazy loaded types 2017-05-20 15:42:16 +02:00
gstleaks.h leaks: Handle subclasses in filters even for unhandled/lazy loaded types 2017-05-20 15:42:16 +02:00
gstlog.c tracers/log: log more detail 2016-12-08 22:03:19 +01:00
gstlog.h tracer: split into tracer and tracerutils 2015-10-05 20:59:39 +02:00
gstrusage.c gstrusage: explicitly register to hooks 2016-12-21 22:19:51 +01:00
gstrusage.h tracers: code cleanups 2015-10-05 20:59:39 +02:00
gststats.c tracers/stats: log optional fields instead of GST_CLOCK_TIME_NONE 2016-12-16 15:55:21 +01:00
gststats.h tracers: code cleanups 2015-10-05 20:59:39 +02:00
gsttracers.c tracers: add leaks tracer 2016-06-03 00:36:46 +01:00
Makefile.am Remove plugin specific static build option 2017-05-16 13:29:38 -04:00
meson.build meson: Derive defines from header/function names 2016-12-21 23:51:36 +05:30