report.xml
An example partial report definition file.
This example is detailed in Linaro Performance Reports Integration. This informs Linaro Performance Reports of the custom metrics implemented in custom1.c.
1 <partialReport name="InterruptsReport"
2 xmlns="http://www.allinea.com/2016/AllineaReports">
3 <reportMetrics>
4 <!-- multiple <reportMetric> elements can be defined -->
5 <!-- source attribute must be set to "metric" -->
6 <reportMetric id="interrupts.mean"
7 displayName="Mean interrupts"
8 units="/s"
9 source="metric"
10 colour="hsl(25, 70, 71)">
11 <sourceDetails metricRef="com.allinea.metrics.custom1.interrupts" sampleValue="mean" aggregation="mean"/>
12 </reportMetric>
13 <reportMetric id="interrupts.peak"
14 displayName="Peak interrupts"
15 units="/s"
16 source="metric"
17 colour="hsl(19, 70, 71)">
18 <sourceDetails metricRef="com.allinea.metrics.custom1.interrupts" sampleValue="max" aggregation="max"/>
19 </reportMetric>
20 </reportMetrics>
21 <subsections>
22 <!-- multiple <subsection> elements can be defined -->
23 <subsection id="interrupt_metrics"
24 heading="Interrupts"
25 colour="hsl(21, 70, 71)">
26 <text>The number of CPU interrupts raised per second across all ranks</text>
27 <!-- multiple <entry> elements can be defined -->
28 <entry reportMetric="interrupts.mean" group="InterruptsGroup"/>
29 <entry reportMetric="interrupts.peak" group="InterruptsGroup"/>
30 </subsection>
31 </subsections>
32 </partialReport>