diff options
author | Jing Zhang <[email protected]> | 2023-07-28 15:09:34 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-07-28 19:01:17 -0300 |
commit | 3e65bd13746af54bbe9a9c415a437bcc0b78282c (patch) | |
tree | 303bbf6f5152c0ce42704de727ae8344a7e4fc81 | |
parent | 24069d8112c94e76758da83a5bddc9aa98601d22 (diff) |
perf vendor events arm64: Add JSON metrics for Yitian 710 DDR
Add JSON metrics for T-HEAD Yitian 710 SoC DDR.
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Jing Zhang <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Shuai Xue <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Zhuo Song <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/metrics.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/metrics.json b/tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/metrics.json new file mode 100644 index 000000000000..bc865b374b6a --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/metrics.json @@ -0,0 +1,20 @@ +[ + { + "MetricName": "ddr_read_bandwidth.all", + "BriefDescription": "The ddr read bandwidth(MB/s).", + "MetricGroup": "ali_drw", + "MetricExpr": "hif_rd * 64 / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "Unit": "ali_drw", + "Compat": "ali_drw_pmu" + }, + { + "MetricName": "ddr_write_bandwidth.all", + "BriefDescription": "The ddr write bandwidth(MB/s).", + "MetricGroup": "ali_drw", + "MetricExpr": "(hif_wr + hif_rmw) * 64 / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "Unit": "ali_drw", + "Compat": "ali_drw_pmu" + } +] |