<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Hamadi,<br>
      <br>
      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.<br>
      <br>
      Stefan<br>
      <br>
      On 04/16/2015 03:38 PM, Hamdi Rakkez wrote:<br>
    </div>
    <blockquote
cite="mid:CAFXmeVv06fj_G_DZb=w6i6M7dw+zJVTiEneEbzyOgNtuc12wAA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;font-size:large;color:#073763">Hi everyone,</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">I want to measure
          with great accuracy the execution time for one element in a
          gstreamer-1.0 pipeLine.</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">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.</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">Anyway if anyone
          knows a better way to do it, it will be great.</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.</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">Best Regards,</div>
        <div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;font-size:large;color:#073763">Hamdi Rakkez</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>