29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong> Coding Practices<br />

5.8 Code metrics<br />

Code metrics provide a means of objectively evaluating code quality. The compiler and linker<br />

provide several facilities <strong>for</strong> generating simple code metrics and improving code quality. In<br />

particular, you can:<br />

• measure code and data sizes<br />

• generate dynamic callgraphs<br />

• measure stack use.<br />

5.8.1 See also<br />

Concepts<br />

• Stack use in C and C++ on page 5-17.<br />

Reference<br />

• Code metrics <strong>for</strong> measurement of code size and data size on page 5-16.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 5-15<br />

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!