Main Content

SIL/PIL profiling metrics

PMU metric

Since R2024b

Description

App Configuration Pane: Advanced

Configuration Objects: coder.EmbeddedCodeConfig

Performance Monitoring Unit (PMU) metric profiling of functions.

See Investigate Execution-Time Issues Using PMU Metrics (Embedded Coder).

Settings

Time

This value is the default value.

Extracts no metric from the PMU of the target hardware.

Total instructions

Extracts total instruction count.

Float instructions

Extracts FPU instruction count.

Float operations

Extracts FPU operation count.

Integer instructions

Extracts ALU instruction count.

Load instructions

Extracts load instruction count.

Store instructions

Extracts store instruction count.

Total Cycles

Extracts total cycle count.

L1 Data Cache Misses

Extracts L1 data cache misses.

L1 Instruction Cache Misses

Extracts L1 instruction cache misses.

L2 Data Cache Misses

Extracts L2 data cache misses.

L2 Instruction Cache Misses

Extracts L2 instruction cache misses.

TLB Data Misses

Extracts TLB data misses.

TLB Instruction Misses

Extracts TLB instruction misses.

Memory Stall Cycles

Extracts memory stall cycles.

Total Stall Cycles

Extracts total stall cycles.

Programmatic Use

Property: CodeProfilingCodeMetrics
Values: "time" | "totinstr" | "floatinsts" | "floatopts" | "intinstr" | "loadinstr" | "storeinstr" | "totcyc" | "l1dcm" | "l1icm" | "l2dcm" | "l2icm" | "tlbdm" | "tlbim" | "memstall" | "totstall"
Default: "time"

Version History

Introduced in R2024b