Mesuring Execution Time for one element in a Gstreamer-1.0 pipeline

Stefan Sauer ensonic at hora-obscura.de
Thu Apr 16 11:28:22 PDT 2015


Hi Hamadi,

this is not as easy as it sounds :/ One approach would be to add queues
before each sink pad and after all source pads of the element. Then you
can check the cpu usage of the thread that is on the sink side.
Unfortunately this is intrusive and will need a special testing pipeline.

Stefan

On 04/16/2015 03:38 PM, Hamdi Rakkez wrote:
> Hi everyone,
>
> I want to measure with great accuracy the execution time for one
> element in a gstreamer-1.0 pipeLine.
>
> I've already tried GST_DEBUG=4 and searching for the element start and
> finish times to conclude the time token for running the element, but
> the problem is that I feel that this Technic is not right and it's
> giving me false results.
>
> Anyway if anyone knows a better way to do it, it will be great.
>
> Thank you.
>
> Best Regards,
> Hamdi Rakkez
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150416/df8a6b2a/attachment.html>


More information about the gstreamer-devel mailing list