Add RDC_FI_PROF_SM_ACTIVE metric.
Signed-off-by: Greg Scaffidi <salvatore.scaffidi@amd.com> Change-Id: I63aaf5eb05d74ba696ace2b088e17c2cfb1bd74b Signed-off-by: adapryor <Adam.pryor@amd.com>
This commit is contained in:
committed by
Arif, Maisam
parent
df170c8801
commit
f4de4b0529
@@ -138,6 +138,7 @@ FLD_DESC_ENT(RDC_FI_PROF_EVAL_FLOPS_16, "Number of fp16 OPS / ms",
|
||||
FLD_DESC_ENT(RDC_FI_PROF_EVAL_FLOPS_32, "Number of fp32 OPS / ms", "FLOPS_32", false)
|
||||
FLD_DESC_ENT(RDC_FI_PROF_EVAL_FLOPS_64, "Number of fp64 OPS / ms", "FLOPS_64", false)
|
||||
FLD_DESC_ENT(RDC_FI_PROF_VALU_PIPE_ISSUE_UTIL, "Percent of Active Pipe VALU", "VALU_UTILIZATION", false)
|
||||
FLD_DESC_ENT(RDC_FI_PROF_SM_ACTIVE, "Ratio of Cycles with active warp on SM","VALUBusy", false)
|
||||
|
||||
// Events
|
||||
FLD_DESC_ENT(RDC_EVNT_XGMI_0_NOP_TX, "NOPs sent to neighbor 0", "XGMI_NOP_0", false)
|
||||
|
||||
@@ -139,6 +139,7 @@ int run() {
|
||||
field_ids.push_back(RDC_FI_PROF_EVAL_FLOPS_16);
|
||||
field_ids.push_back(RDC_FI_PROF_EVAL_FLOPS_32);
|
||||
field_ids.push_back(RDC_FI_PROF_EVAL_FLOPS_64);
|
||||
field_ids.push_back(RDC_FI_PROF_SM_ACTIVE);
|
||||
result = rdc_group_field_create(rdc_handle, field_ids.size(), field_ids.data(), field_group_name,
|
||||
&field_group_id);
|
||||
if (result != RDC_ST_OK) {
|
||||
|
||||
@@ -283,6 +283,7 @@ typedef enum {
|
||||
RDC_FI_PROF_EVAL_FLOPS_32,
|
||||
RDC_FI_PROF_EVAL_FLOPS_64,
|
||||
RDC_FI_PROF_VALU_PIPE_ISSUE_UTIL,
|
||||
RDC_FI_PROF_SM_ACTIVE,
|
||||
|
||||
/**
|
||||
* @brief Raw XGMI counter events
|
||||
|
||||
@@ -150,6 +150,7 @@ class rdc_field_t(c_int):
|
||||
RDC_FI_PROF_EVAL_FLOPS_32 = 809
|
||||
RDC_FI_PROF_EVAL_FLOPS_64 = 810
|
||||
RDC_FI_PROF_VALU_PIPE_ISSUE_UTIL = 811
|
||||
RDC_FI_PROF_SM_ACTIVE = 812
|
||||
RDC_EVNT_XGMI_0_NOP_TX = 1000
|
||||
RDC_EVNT_XGMI_0_REQ_TX = 1001
|
||||
RDC_EVNT_XGMI_0_RESP_TX = 1002
|
||||
|
||||
@@ -119,6 +119,7 @@ RdcRocpBase::RdcRocpBase() {
|
||||
{RDC_FI_PROF_EVAL_FLOPS_32, "TOTAL_32_OPS"},
|
||||
{RDC_FI_PROF_EVAL_FLOPS_64, "TOTAL_64_OPS"},
|
||||
{RDC_FI_PROF_VALU_PIPE_ISSUE_UTIL, "ValuPipeIssueUtil"},
|
||||
{RDC_FI_PROF_SM_ACTIVE, "VALUBusy"},
|
||||
};
|
||||
|
||||
hsa_status_t status = hsa_init();
|
||||
|
||||
Reference in New Issue
Block a user