Main Content

Program Maximum Stack Usage

Maximum stack usage in the analyzed program

Description

Note

Support for computing code metrics in Code Prover will be removed in a future release. See Version History.

This metric is reported in a Code Prover analysis only.

This metric shows the maximum stack usage from your program.

The metric shows the maximum stack usage for the function with the highest stack usage. If you provide a complete application, the function with the highest stack usage is typically the main function because the main function is at the top of the call hierarchy. In multitasking or multithreaded applications, the program maximum stack usage is the maximum stack usage of the task or thread with the highest stack usage. For a description of maximum stack usage for a function, see the metric Maximum Stack Usage.

Metric Information

Group: Project
Acronym: PROG_MAX_STACK
HIS Metric: No

Version History

Introduced in R2017b

expand all