03-14-2013 08:19 AM
Hi All,
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
-Bikash
03-14-2013 08:26 AM
03-14-2013 08:30 AM
Dear Borceg,
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
-Bikash
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.
03-14-2013 04:59 PM
I dont think we actually have access to ps or sin. unless i'm doing something wrong. Do you have access to those?
03-15-2013 01:09 PM
>I dont think we actually have access to ps or sin
No we don't.