4.8 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.9 Code metrics for measurement of code size and data size
4.10 Stack use in C and C++
Related information
--info=topic[,topic,...] linker option
--map, --no_map linker option
--callgraph, --no_callgraph linker option
--info=topic[,topic,...] fromelf option
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.