4.9 Code metrics

Code metrics provide a means of objectively evaluating code quality. The compiler and linker provide several facilities for generating simple code metrics and improving code quality.

In particular, you can:
  • Measure code and data sizes.
  • Generate dynamic callgraphs.
  • Measure stack use.
Related concepts
4.10 Code metrics for measurement of code size and data size
4.11 Stack use in C and C++
Related information
--info=topic[,topic,...] fromelf option
--info=topic[,topic,...] linker option
--map, --no_map linker option
--callgraph, --no_callgraph linker option
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.