What’s the restriction of combining?? <<NVIDIA_Nsight_Perf_SDK_2023.3_Getting_Started_Guide_rev20>> haven’t introducing how to combine three Enumerated values.
Hello [450458340],
If I understand correctly, you are trying to combine the metric base name (something like smsp__warps_launched without any suffices) with these 3 attributes to form a metric name. If so, I hope the following information can help you:
-
If a metric’s type is NVPW_METRIC_TYPE_COUNTER, you can use the following formula: <metric base name>.<RollupOp>(.<Submetric>), where is optional. One example is, gpc__cycles_elapsed.avg.per_second.
-
If a metric’s type is NVPW_METRIC_TYPE_RATIO, you can use this: <metric base name>.<Submetric>. For example, lts__average_t_sector_hit_rate_realtime.pct.
-
If a metric’s type is NVPW_METRIC_TYPE_THROUGHPUT, the format is the same as NVPW_METRIC_TYPE_COUNTER but the Submetric field is not optional.
Note: The supported submetrics of different NVPW_METRIC_TYPEs are different, you can query them by NVPW_MetricsEvaluator_GetSupportedSubmetrics and then apply the above formulas.
Let me know if you have more questions!
Thanks.