[gst-devel] Time taken by gst_pad_push function

ved kpl ved.kpl at gmail.com
Fri Jan 16 08:11:54 CET 2009


Hi,

That depends on the pipeline you are using. The gst_pad_push()  by the
element COULD BE chained right upto downmost element, resulting in
gst_pad_push() by the element eventually calling _chain() of sink
element (with few elements in between).

But, why do you want to profile gst_pad_push()?

Ved

On Fri, Jan 16, 2009 at 11:51 AM, Deepak T.Y <deepakty at tataelxsi.co.in> wrote:
> Hi all,
>        I am trying to optimize my Gstreamer based application. I have a
> gstreamer pulgin
> which pushs around 35-40k data to next element in the pipeline. The
> following are my
> observations:
>
> 1. Time taken across gst_pad_push() function is around 50,000 usec. i.e
>     gettimeofday(&t1,NULL);
>     gst_pad_push(pad,buf);
>     gettimeofday(&t2,NULL);
>     Why gst_pad_push() function is taking so much time?
>
> 2. The time taken between start of gst_pad_push() and start of the chain
> function of next
>    element in the pipeline is around 4,000 usec. Compared to time taken by
> gst_pad_push()
>    to return to the calling fucnction, 4000 usec is less.
>
> Please can anyone help me in improving the timing of gst_pad_push()?
>
>
> Thanking you,
> Deepak T Y
>
>
>
>
>
>
>
> This message (including any attachment) is confidential and may be legally
> privileged. Access to this message by anyone other than the intended
> recipient(s) listed above is unauthorized. If you are not the intended
> recipient you are hereby notified that any disclosure, copying, or
> distribution of the message, or any action taken or omission of action by
> you in reliance upon it, is prohibited and may be unlawful. Please
> immediately notify the sender by reply e-mail and permanently delete all
> copies of the message if you have received this message in error.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list