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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C compiler option: --profile (-p)Menu entry1. Select C/C++ Compiler » Debugging.2. Enable or disable Static profiling.3. Enable or disable one or more of the following Generate profiling in<strong>for</strong>mation options (dynamicprofiling):• <strong>for</strong> block counters (not in combination with Call graph or Function timers)• to build a call graph• <strong>for</strong> function counters• <strong>for</strong> function timersNote that the more detailed in<strong>for</strong>mation you request, the larger the overhead in terms of executiontime, code size and heap space needed. The option --debug does not affect profiling, executiontime or code size.Command line syntax--profile[=flag,...]-p[flags]Use the following option <strong>for</strong> a predefined set of flags:--profile=g-pgProfiling with call graph and function timers.Alias <strong>for</strong>: -pBcFStYou can set the following flags:+/-block+/-callgraph+/-function+/-static+/-timeb/Bc/Cf/Fs/St/Tblock counterscall graphfunction countersstatic profile generationfunction timersDefault (without flags): -pBCfSTDescriptionProfiling is the process of collecting statistical data about a running application. With these data you cananalyze which functions are called, how often they are called and what their execution time is.348

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

Saved successfully!

Ooh no, something went wrong!