An example partial report definition file as detailed in Arm Performance Reports Integration. This informs Arm Performance Reports of the custom metrics implemented in custom1.c.
1 <
partialReport name=
"InterruptsReport" 2 xmlns=
"http://www.allinea.com/2016/AllineaReports">
6 <
reportMetric id=
"interrupts.mean" 7 displayName=
"Mean interrupts" 10 colour=
"hsl(25, 70, 71)">
11 <
sourceDetails metricRef=
"com.allinea.metrics.custom1.interrupts" sampleValue=
"mean" aggregation=
"mean"/>
13 <
reportMetric id=
"interrupts.peak" 14 displayName=
"Peak interrupts" 17 colour=
"hsl(19, 70, 71)">
18 <
sourceDetails metricRef=
"com.allinea.metrics.custom1.interrupts" sampleValue=
"max" aggregation=
"max"/>
23 <
subsection id=
"interrupt_metrics" 25 colour=
"hsl(21, 70, 71)">
26 <
text>
The number of CPU interrupts raised per second across all ranks</
text>
28 <
entry reportMetric=
"interrupts.mean" group=
"InterruptsGroup"/>
29 <
entry reportMetric=
"interrupts.peak" group=
"InterruptsGroup"/>