The simplest way is to set the thread name using prctl (PR_SET_NAME, ...) in codecs_v2/omx/omx_proxy/src/ pv_omx_interface_proxy.cpp. I thought we already have it defined to "OMX proxy".
-Ravi On Aug 4, 2:49 am, sonal <[email protected]> wrote: > Hi, > > I have integrated MP3 decoder inside Android using PV OMX Core . > > I profile the Music Application using 'top' command for file > 'test.mp3'. > > It gives me the complete CPU Load for the music application but I was > more interested in seeing the load due to the MP3 decoder alone. > > I used the 'top' command to show CPU load of each 'thread '. > Here I can see two threads in the name 'PV Player' . > e.g. > 779 950 2% S 25736K 5848K media PV player /system/bin/ > mediaserver > 779 948 1% S 25736K 5848K media PV player /system/bin/ > mediaserver > > I believe one of these is the component thread and other one for the > Media Engine ??? > > Can I find out which one is for which ? or Is it possible to give a > name to my 'MP3 decoder' thread. > > Regards, --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
