Use the CPU measurement module to monitor CPU load.
To enable this module, use the :ref:`CONFIG_DESKTOP_CPU_MEAS_ENABLE <config_desktop_app_options>` Kconfig option. This option selects the :kconfig:option:`CONFIG_NRF_CPU_LOAD` option, which enables the :ref:`cpu_load` library that is used to perform the measurements.
Set the time between subsequent CPU load measurements, in milliseconds, using the :ref:`CONFIG_DESKTOP_CPU_MEAS_PERIOD <config_desktop_app_options>` option.
The module periodically submits the measured CPU load as a :c:struct:`cpu_load_event` and resets the measurement. The event can be displayed in the logs or using the :ref:`nrf_profiler`. The :c:member:`cpu_load_event.load` presents the CPU load in 0.001% units.