Profiling in Opencore

42 views
Skip to first unread message

Pruthvi

unread,
Oct 4, 2010, 9:37:35 AM10/4/10
to android-porting, prut...@sasken.com
Hi,

I am trying to profile a video codec under opencore using
gettimeofday(), but i am not getting proper expected values.

Can anyone suggest any other method to profile video codecs under
opencore.

Thanks in advance.

Regards,
Pruthvi

Deva R

unread,
Oct 4, 2010, 3:43:09 PM10/4/10
to mpru...@gmail.com, android-porting, prut...@sasken.com
How about systemTime() call?? it returns time in nsec_t format.,

you can refer our sample fps profiling logic (at video-mio level though) as in,
http://git.omapzoom.org/?p=platform/hardware/ti/omap3.git;a=blob;f=libopencorehw/android_surface_output_omap34xx.cpp;h=fb978fc9f82831ec4f03cc69a255bfc979f806f9;hb=refs/heads/froyo#l247

--
Regards,
Deva
www.bittoggler.com

> --
> unsubscribe: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

Pruthvi

unread,
Oct 5, 2010, 1:08:38 AM10/5/10
to android-porting
Hi Deva,

Yup planning to use systemTime().
Which option do you think is better for initialization among
MONOLITHIC, PROCESS, THREAD ... for the systemTime().

Since the Video dec node runs as an AO I fill its better to use
THREAD ... but if the OMX component (ie decoder) if internally uses
more threads then its a problem

Regards,
Pruthvi


On Oct 5, 12:43 am, Deva R <r.deva...@gmail.com> wrote:
> How about systemTime() call?? it returns time in nsec_t format.,
>
> you can refer our sample fps profiling logic (at video-mio level though)  as in,http://git.omapzoom.org/?p=platform/hardware/ti/omap3.git;a=blob;f=li...
>
> --
> Regards,
> Devawww.bittoggler.com
Reply all
Reply to author
Forward
0 new messages