perf/tools/pmu-events/powerpc: update nest metric event to utilize other metrics
PATCH 1/1 perf/tools/pmu-events/powerpc: update nest metric event to utilize other metrics
This patch take advantage of the new capability added to use computed metrics in calculating other metrics. It also update metric group for nest events to make it consistent for all nest memory events.
Signed-off-by Kajol Jain <[email protected]>
--- .../arch/powerpc/power9/nest_metrics.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
tools/perf/pmu-events/arch/powerpc/power9/nest_metrics.json +9 -9
@@ -18,25 +18,25 @@ }, { "MetricExpr" : "nest_mcs01_imc@PM_MCS01_128B_RD_DISP_PORT01@ + nest_mcs01_imc@PM_MCS01_128B_RD_DISP_PORT23@", - "MetricName" : "mcs01-read", - "MetricGroup" : "memory_bw", + "MetricName" : "mcs01_read", + "MetricGroup" : "memory-bandwidth", "ScaleUnit": "6.1e-5MB" }, { "MetricExpr" : "nest_mcs23_imc@PM_MCS23_128B_RD_DISP_PORT01@ + nest_mcs23_imc@PM_MCS23_128B_RD_DISP_PORT23@", - "MetricName" : "mcs23-read", - "MetricGroup" : "memory_bw", + "MetricName" : "mcs23_read", + "MetricGroup" : "memory-bandwidth", "ScaleUnit": "6.1e-5MB" }, { "MetricExpr" : "nest_mcs01_imc@PM_MCS01_128B_WR_DISP_PORT01@ + nest_mcs01_imc@PM_MCS01_128B_WR_DISP_PORT23@", - "MetricName" : "mcs01-write", - "MetricGroup" : "memory_bw", + "MetricName" : "mcs01_write", + "MetricGroup" : "memory-bandwidth", "ScaleUnit": "6.1e-5MB" }, { "MetricExpr" : "nest_mcs23_imc@PM_MCS23_128B_WR_DISP_PORT01@ + nest_mcs23_imc@PM_MCS23_128B_WR_DISP_PORT23@", - "MetricName" : "mcs23-write", + "MetricName" : "mcs23_write", "MetricGroup" : "memory-bandwidth", "ScaleUnit": "6.1e-5MB" },
@@ -46,9 +46,9 @@ "ScaleUnit": "1e-9GHz" }, { - "MetricExpr" : "(nest_mcs01_imc@PM_MCS01_128B_RD_DISP_PORT01@ + nest_mcs01_imc@PM_MCS01_128B_RD_DISP_PORT23@ + nest_mcs23_imc@PM_MCS23_128B_RD_DISP_PORT01@ + nest_mcs23_imc@PM_MCS23_128B_RD_DISP_PORT23@ + nest_mcs01_imc@PM_MCS01_128B_WR_DISP_PORT01@ + nest_mcs01_imc@PM_MCS01_128B_WR_DISP_PORT23@ + nest_mcs23_imc@PM_MCS23_128B_WR_DISP_PORT01@ + nest_mcs23_imc@PM_MCS23_128B_WR_DISP_PORT23@)", + "MetricExpr" : "mcs01_read + mcs23_read + mcs01_write + mcs23_write", "MetricName" : "Memory-bandwidth-MCS", - "MetricGroup" : "memory_bw", + "MetricGroup" : "memory-bandwidth", "ScaleUnit": "6.1e-5MB" } ]
Signature · 1 line
2.17.1