Files
rocm-systems/src/omniperf_cli/configs/panel_config_template.yaml
T
colramos-amd 62d130b458 Initial commit
2022-11-04 14:49:36 -05:00

52 lines
1.8 KiB
YAML

---
#
# Rules to define a panel and its data sources:
# - Each panel has its own yaml file.
# - Each yaml file has 2 sections: (1) Description Details. (2) Panel Config.
# - id for each panel/ data_source has to be unique.
# - The data source of panel support only: raw_csv_table and metric_table for now.
# - For raw_csv_table, data will be loaded from the specified csv file directly,
# and may be sorted.
# - For metric_table, the number of entries of each metric must match of
# the number of entries of table header. The metric can be raw pmc counters
# or an expression derived from them. The key keyword of the metric has to be
# one defined in parser.supported_field, i.e. "Value", "Min", "Max", "Avg" etc.
#
Metric Description:
METRIC01: &METRIC01_anchor Scalar Arithmetic Logic Unit
# Define the panel properties and properties of each metric in the panel.
Panel Config:
id: 800
title: # define panel title to display
data source:
# Metric table sample
- metric_table:
id: 801
title: # subtitle for this table(optional)
header:
metric: Metric
value: Value
unit: Unit
peak: Peak
pop: PoP
tips: Tips
metric:
METRIC01:
value: AVG(100 * SQ_ACTIVE_INST_SCA / ( GRBM_GUI_ACTIVE * $numCU ))
unit: pct
peak: 100
pop: AVG(100* SQ_ACTIVE_INST_SCA/(GRBM_GUI_ACTIVE*$numCU))
tips: *METRIC01_anchor
METRIC02:
value: AVG(100 * SQ_ACTIVE_INST_VALU / ( GRBM_GUI_ACTIVE * $numCU))
unit: pct
peak: 100
pop: AVG(100* SQ_ACTIVE_INST_VALU/(GRBM_GUI_ACTIVE*$numCU))
tips:
# CSV table sample
- raw_csv_table:
id: 802
source: abc.csv