embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module perf_counters

Module perf_counters 

Source
Expand description

§Performance counters

This module contains simple performance counters, intended to aid debugging for metrics like “number of interrupts served” per peripheral, etc.

When the perf feature is active, then the performance counters are functional. When the perf feature is NOT active, the “increment” and “clear” interfaces are still available, but act as a no-op.

Functions§

clear_deep_sleeps
Reset perf counter to zero
clear_interrupt_adc0
Reset perf counter to zero
clear_interrupt_adc1
Reset perf counter to zero
clear_interrupt_adc2
Reset perf counter to zero
clear_interrupt_adc3
Reset perf counter to zero
clear_interrupt_cdog0
Reset perf counter to zero
clear_interrupt_ctimer0
Reset perf counter to zero
clear_interrupt_ctimer0_wake
Reset perf counter to zero
clear_interrupt_ctimer1
Reset perf counter to zero
clear_interrupt_ctimer2
Reset perf counter to zero
clear_interrupt_ctimer3
Reset perf counter to zero
clear_interrupt_ctimer4
Reset perf counter to zero
clear_interrupt_ctimer1_wake
Reset perf counter to zero
clear_interrupt_ctimer2_wake
Reset perf counter to zero
clear_interrupt_ctimer3_wake
Reset perf counter to zero
clear_interrupt_ctimer4_wake
Reset perf counter to zero
clear_interrupt_edma0
Reset perf counter to zero
clear_interrupt_edma0_wake
Reset perf counter to zero
clear_interrupt_gpio0
Reset perf counter to zero
clear_interrupt_gpio0_wake
Reset perf counter to zero
clear_interrupt_gpio1
Reset perf counter to zero
clear_interrupt_gpio2
Reset perf counter to zero
clear_interrupt_gpio3
Reset perf counter to zero
clear_interrupt_gpio4
Reset perf counter to zero
clear_interrupt_gpio1_wake
Reset perf counter to zero
clear_interrupt_gpio2_wake
Reset perf counter to zero
clear_interrupt_gpio3_wake
Reset perf counter to zero
clear_interrupt_gpio4_wake
Reset perf counter to zero
clear_interrupt_i2c0
Reset perf counter to zero
clear_interrupt_i2c0_wake
Reset perf counter to zero
clear_interrupt_i2c1
Reset perf counter to zero
clear_interrupt_i2c2
Reset perf counter to zero
clear_interrupt_i2c3
Reset perf counter to zero
clear_interrupt_i2c1_wake
Reset perf counter to zero
clear_interrupt_i2c2_wake
Reset perf counter to zero
clear_interrupt_i2c3_wake
Reset perf counter to zero
clear_interrupt_i3c0
Reset perf counter to zero
clear_interrupt_i3c0_wake
Reset perf counter to zero
clear_interrupt_lpuart0
Reset perf counter to zero
clear_interrupt_lpuart0_wake
Reset perf counter to zero
clear_interrupt_lpuart1
Reset perf counter to zero
clear_interrupt_lpuart2
Reset perf counter to zero
clear_interrupt_lpuart3
Reset perf counter to zero
clear_interrupt_lpuart4
Reset perf counter to zero
clear_interrupt_lpuart5
Reset perf counter to zero
clear_interrupt_lpuart1_wake
Reset perf counter to zero
clear_interrupt_lpuart2_wake
Reset perf counter to zero
clear_interrupt_lpuart3_wake
Reset perf counter to zero
clear_interrupt_lpuart4_wake
Reset perf counter to zero
clear_interrupt_lpuart5_wake
Reset perf counter to zero
clear_interrupt_ostimer
Reset perf counter to zero
clear_interrupt_ostimer_alarm
Reset perf counter to zero
clear_interrupt_rtc0
Reset perf counter to zero
clear_interrupt_rtc0_wake
Reset perf counter to zero
clear_interrupt_spi0
Reset perf counter to zero
clear_interrupt_spi0_wake
Reset perf counter to zero
clear_interrupt_spi1
Reset perf counter to zero
clear_interrupt_spi1_wake
Reset perf counter to zero
clear_interrupt_trng
Reset perf counter to zero
clear_interrupt_trng_wake
Reset perf counter to zero
clear_interrupt_wwdt
Reset perf counter to zero
clear_wfe_sleeps
Reset perf counter to zero
get_and_clear_deep_sleeps
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_adc0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_adc1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_adc2
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_adc3
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_cdog0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer2
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer3
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer4
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer1_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer2_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer3_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ctimer4_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_edma0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_edma0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio2
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio3
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio4
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio1_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio2_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio3_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_gpio4_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c2
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c3
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c1_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c2_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i2c3_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i3c0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_i3c0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart2
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart3
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart4
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart5
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart1_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart2_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart3_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart4_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_lpuart5_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ostimer
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_ostimer_alarm
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_rtc0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_rtc0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_spi0
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_spi0_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_spi1
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_spi1_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_trng
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_trng_wake
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_interrupt_wwdt
Get current perf counter snapshot and reset the perf counter to zero
get_and_clear_wfe_sleeps
Get current perf counter snapshot and reset the perf counter to zero
get_deep_sleeps
Get current perf counter snapshot
get_interrupt_adc0
Get current perf counter snapshot
get_interrupt_adc1
Get current perf counter snapshot
get_interrupt_adc2
Get current perf counter snapshot
get_interrupt_adc3
Get current perf counter snapshot
get_interrupt_cdog0
Get current perf counter snapshot
get_interrupt_ctimer0
Get current perf counter snapshot
get_interrupt_ctimer0_wake
Get current perf counter snapshot
get_interrupt_ctimer1
Get current perf counter snapshot
get_interrupt_ctimer2
Get current perf counter snapshot
get_interrupt_ctimer3
Get current perf counter snapshot
get_interrupt_ctimer4
Get current perf counter snapshot
get_interrupt_ctimer1_wake
Get current perf counter snapshot
get_interrupt_ctimer2_wake
Get current perf counter snapshot
get_interrupt_ctimer3_wake
Get current perf counter snapshot
get_interrupt_ctimer4_wake
Get current perf counter snapshot
get_interrupt_edma0
Get current perf counter snapshot
get_interrupt_edma0_wake
Get current perf counter snapshot
get_interrupt_gpio0
Get current perf counter snapshot
get_interrupt_gpio0_wake
Get current perf counter snapshot
get_interrupt_gpio1
Get current perf counter snapshot
get_interrupt_gpio2
Get current perf counter snapshot
get_interrupt_gpio3
Get current perf counter snapshot
get_interrupt_gpio4
Get current perf counter snapshot
get_interrupt_gpio1_wake
Get current perf counter snapshot
get_interrupt_gpio2_wake
Get current perf counter snapshot
get_interrupt_gpio3_wake
Get current perf counter snapshot
get_interrupt_gpio4_wake
Get current perf counter snapshot
get_interrupt_i2c0
Get current perf counter snapshot
get_interrupt_i2c0_wake
Get current perf counter snapshot
get_interrupt_i2c1
Get current perf counter snapshot
get_interrupt_i2c2
Get current perf counter snapshot
get_interrupt_i2c3
Get current perf counter snapshot
get_interrupt_i2c1_wake
Get current perf counter snapshot
get_interrupt_i2c2_wake
Get current perf counter snapshot
get_interrupt_i2c3_wake
Get current perf counter snapshot
get_interrupt_i3c0
Get current perf counter snapshot
get_interrupt_i3c0_wake
Get current perf counter snapshot
get_interrupt_lpuart0
Get current perf counter snapshot
get_interrupt_lpuart0_wake
Get current perf counter snapshot
get_interrupt_lpuart1
Get current perf counter snapshot
get_interrupt_lpuart2
Get current perf counter snapshot
get_interrupt_lpuart3
Get current perf counter snapshot
get_interrupt_lpuart4
Get current perf counter snapshot
get_interrupt_lpuart5
Get current perf counter snapshot
get_interrupt_lpuart1_wake
Get current perf counter snapshot
get_interrupt_lpuart2_wake
Get current perf counter snapshot
get_interrupt_lpuart3_wake
Get current perf counter snapshot
get_interrupt_lpuart4_wake
Get current perf counter snapshot
get_interrupt_lpuart5_wake
Get current perf counter snapshot
get_interrupt_ostimer
Get current perf counter snapshot
get_interrupt_ostimer_alarm
Get current perf counter snapshot
get_interrupt_rtc0
Get current perf counter snapshot
get_interrupt_rtc0_wake
Get current perf counter snapshot
get_interrupt_spi0
Get current perf counter snapshot
get_interrupt_spi0_wake
Get current perf counter snapshot
get_interrupt_spi1
Get current perf counter snapshot
get_interrupt_spi1_wake
Get current perf counter snapshot
get_interrupt_trng
Get current perf counter snapshot
get_interrupt_trng_wake
Get current perf counter snapshot
get_interrupt_wwdt
Get current perf counter snapshot
get_wfe_sleeps
Get current perf counter snapshot
incr_deep_sleeps
Increment perf counter by 1
incr_interrupt_adc0
Increment perf counter by 1
incr_interrupt_adc1
Increment perf counter by 1
incr_interrupt_adc2
Increment perf counter by 1
incr_interrupt_adc3
Increment perf counter by 1
incr_interrupt_cdog0
Increment perf counter by 1
incr_interrupt_ctimer0
Increment perf counter by 1
incr_interrupt_ctimer0_wake
Increment perf counter by 1
incr_interrupt_ctimer1
Increment perf counter by 1
incr_interrupt_ctimer2
Increment perf counter by 1
incr_interrupt_ctimer3
Increment perf counter by 1
incr_interrupt_ctimer4
Increment perf counter by 1
incr_interrupt_ctimer1_wake
Increment perf counter by 1
incr_interrupt_ctimer2_wake
Increment perf counter by 1
incr_interrupt_ctimer3_wake
Increment perf counter by 1
incr_interrupt_ctimer4_wake
Increment perf counter by 1
incr_interrupt_edma0
Increment perf counter by 1
incr_interrupt_edma0_wake
Increment perf counter by 1
incr_interrupt_gpio0
Increment perf counter by 1
incr_interrupt_gpio0_wake
Increment perf counter by 1
incr_interrupt_gpio1
Increment perf counter by 1
incr_interrupt_gpio2
Increment perf counter by 1
incr_interrupt_gpio3
Increment perf counter by 1
incr_interrupt_gpio4
Increment perf counter by 1
incr_interrupt_gpio1_wake
Increment perf counter by 1
incr_interrupt_gpio2_wake
Increment perf counter by 1
incr_interrupt_gpio3_wake
Increment perf counter by 1
incr_interrupt_gpio4_wake
Increment perf counter by 1
incr_interrupt_i2c0
Increment perf counter by 1
incr_interrupt_i2c0_wake
Increment perf counter by 1
incr_interrupt_i2c1
Increment perf counter by 1
incr_interrupt_i2c2
Increment perf counter by 1
incr_interrupt_i2c3
Increment perf counter by 1
incr_interrupt_i2c1_wake
Increment perf counter by 1
incr_interrupt_i2c2_wake
Increment perf counter by 1
incr_interrupt_i2c3_wake
Increment perf counter by 1
incr_interrupt_i3c0
Increment perf counter by 1
incr_interrupt_i3c0_wake
Increment perf counter by 1
incr_interrupt_lpuart0
Increment perf counter by 1
incr_interrupt_lpuart0_wake
Increment perf counter by 1
incr_interrupt_lpuart1
Increment perf counter by 1
incr_interrupt_lpuart2
Increment perf counter by 1
incr_interrupt_lpuart3
Increment perf counter by 1
incr_interrupt_lpuart4
Increment perf counter by 1
incr_interrupt_lpuart5
Increment perf counter by 1
incr_interrupt_lpuart1_wake
Increment perf counter by 1
incr_interrupt_lpuart2_wake
Increment perf counter by 1
incr_interrupt_lpuart3_wake
Increment perf counter by 1
incr_interrupt_lpuart4_wake
Increment perf counter by 1
incr_interrupt_lpuart5_wake
Increment perf counter by 1
incr_interrupt_ostimer
Increment perf counter by 1
incr_interrupt_ostimer_alarm
Increment perf counter by 1
incr_interrupt_rtc0
Increment perf counter by 1
incr_interrupt_rtc0_wake
Increment perf counter by 1
incr_interrupt_spi0
Increment perf counter by 1
incr_interrupt_spi0_wake
Increment perf counter by 1
incr_interrupt_spi1
Increment perf counter by 1
incr_interrupt_spi1_wake
Increment perf counter by 1
incr_interrupt_trng
Increment perf counter by 1
incr_interrupt_trng_wake
Increment perf counter by 1
incr_interrupt_wwdt
Increment perf counter by 1
incr_wfe_sleeps
Increment perf counter by 1