Previous Topic

Next Topic

Book Contents

Book Index

Starting/Stopping CPU Profiling

CPU profiling can be initiated automatically when launching or connecting to the profiled application if you have checked the Auto start CPU session option in the profile configuration (refer to the Configuring General and Auto-Start Session Settings). If you don't check this option, you'll have to start the CPU profiling by calling Start CPU Profiling command from the mBProfiler menu or by pressing the button from the workbench toolbar. Another option is to use the button from the toolbar of a CPU view (CPU Call Tree or CPU Hot Spots).

Click the toolbar button in the CPU Call Tree, CPU Hot Spots or Bundles CPU Call Tree view to stop the session and have the results from CPU consumption profiling finally calculated and displayed. As a result, the view will show statistical data about the performance of the application.

At any time later, you can continue profiling by using the button from a CPU view's toolbar. This will add the current results from profiling to the results from the previous period.

To restart the profiling, use mBProfiler > Start CPU Session or click the toolbar button from the relevant CPU view. This will clear the results from the previous session, and will start the calculation anew.