Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
03-14-2013 08:19 AM
I want to know how much our application usages the CPU in RIM programming, If any one know how to listen the CPU uses from the native it will be great for me to make more quality build.
Hope I will get response soon from all the experts.
Advanced Thanks to all
03-14-2013 08:26 AM
03-14-2013 08:30 AM
Thanks for your quick reply. but that's not the solution for me.
I need to access CPU usages programamtically through my own BBAPP, not by using any third party tool.
If is this possible please do help me out.
Thanks in advance
03-14-2013 09:01 AM
03-14-2013 09:01 AM
There is a difference between the current CPU load and your apps load on the CPU (your app isn't the only thing running).
You could write your own profiler class that outputs the details you want to your app using timers and calls at the start and end of functions but I don't think there is any api to do this for you.
It may (I doubt it) but it may be possible to redirect the standard profiler information and then interpret it in realtime within your app, not having tried this I wouldn't know but perhaps worth investigating before starting on writing your own.
There are also some 3rd party real-time profiling libraries out there (just google 'real time profiling library') which may also be of interest to you.