13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ProfilingIn the right pane the Settings appear.3. On the Tool Settings tab, expand the C/C++ Compiler entry and select Debugging.4. Enable Static profiling.For the command line, see the C compiler option --profile (-p).Profiling is only possible with optimization levels 0, 1 and 2. So:5. Open the Optimization page and set the Optimization level to 2 - Optimize more.6. Click OK to apply the new option settings and rebuild the project ( ).6.3.2. Step 2: Displaying Static Profiling ResultsAfter your project has been built with static profiling, the result of the profiler can be displayed in the<strong>TASKING</strong> Profiler perspective. The profiling data of each individual file (.sxml), is combined in the XMLfile profiling.xprof.This file is read and its in<strong>for</strong>mation is displayed.To view the profiling in<strong>for</strong>mation,open the <strong>TASKING</strong> Profiler perspective:1. From the Window menu, select Open Perspective » Other...The Select Perspective dialog appears.2. Select the <strong>TASKING</strong> Profiler perspective and click OK.The <strong>TASKING</strong> Profiler perspective opens. This perspective is explained in Section 6.2.3, Step 3:Displaying Profiling ResultsTo display static profiling in<strong>for</strong>mation in the Profiler view1. In the Profiler view, click on the (Select Profiling File(s)) button.The Select Profiling File(s) dialog appears.2. In the Profiling Type group box, select Static Profiling.3. In the Static Profiling File group box, enable the option Use default.By default, the file project.xprof is used (profiling.xprof). If you want to specify another file,disable the option Use default and use the edit field and/or Browse button to specify a static profilingfile (.xprof).4. Click OK to finish.187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!