The Performance Monitor component provides APIs to use {IDF_TARGET_NAME} internal performance counters to profile functions and applications.
An example which combines performance monitor is provided in examples/system/perfmon
directory.
This example initializes the performance monitor structure and execute them with printing the statistics.
.. include-build-file:: inc/xtensa_perfmon_access.inc
.. include-build-file:: inc/xtensa_perfmon_apis.inc