<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Hi,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Thank you Stefan and Olivier.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Hamdi</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 8:25 PM, Olivier CrĂȘte <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You can also do a debug log with GST_DEBUG=GST_SCHEDULING:6 and look how<br>
much time between the "calling" line right before the element and the<br>
one right after. But this only works for elements that don't have<br>
queuing.<br>
<br>
Olivier<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, 2015-04-16 at 20:28 +0200, Stefan Sauer wrote:<br>
> Hi Hamadi,<br>
><br>
> this is not as easy as it sounds :/ One approach would be to add<br>
> queues before each sink pad and after all source pads of the element.<br>
> Then you can check the cpu usage of the thread that is on the sink<br>
> side. Unfortunately this is intrusive and will need a special testing<br>
> pipeline.<br>
><br>
> Stefan<br>
><br>
> On 04/16/2015 03:38 PM, Hamdi Rakkez wrote:<br>
><br>
> > Hi everyone,<br>
> ><br>
> ><br>
> > I want to measure with great accuracy the execution time for one<br>
> > element in a gstreamer-1.0 pipeLine.<br>
> ><br>
> ><br>
> > I've already tried GST_DEBUG=4 and searching for the element start<br>
> > and finish times to conclude the time token for running the element,<br>
> > but the problem is that I feel that this Technic is not right and<br>
> > it's giving me false results.<br>
> ><br>
> ><br>
> > Anyway if anyone knows a better way to do it, it will be great.<br>
> ><br>
> ><br>
> > Thank you.<br>
> ><br>
> ><br>
> > Best Regards,<br>
> > Hamdi Rakkez<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > gstreamer-devel mailing list<br>
> > <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Olivier CrĂȘte<br>
<a href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>