Follow the instructions in this section to get started using custom metrics with Arm® MAP and Arm® Performance Reports.
The development of custom metrics for use with Arm® MAP requires you to read and understand:
In addition, see information on exposing custom metrics in Arm® Performance Reports in Arm® Performance Reports Integration.
Open a terminal in the /custom/examples/ directory, which contains:
If a custom configuration directory for the Arm HPC tools is in use,
set the ALLINEA_CONFIG_DIR environment variable to the path of
the custom configuration directory.
To build and install the custom metric library to the default
location (or that specified by ALLINEA_CONFIG_DIR), run make
followed by make install.
Begin profiling an application as normal with Arm® MAP. To display the custom metric upon completion of the run, use the Metrics menu (). Here is an example of how this looks:
In addition, the .html and the .txt report files generated by Arm® Performance Reports have an extra section containing the custom metric data.