Re: How to monitor CPU usages by our app, by using RIM programming ?

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.