I am trying to process “nsight-cuprof-report” file and extract metric from it directly, but I have some problems. I understand that the Perfwork API is being used in Nsight Compute, and if I pass the metrics using --metrics, regardless of the order the output file has certain order under Section tag and which can be used to extract values from Metrics tags (starting from 157)!
However if I use “.section” file to specify the metrics, the order in the Section tag in Nsight Compute output files is based on section file, which is inconsistent with NameID of Metrics tag. Starting from 157, with certain order which I couldn’t find yet.
I was hoping to use the “–query-metrics” output order to solve this problem and I encountered another problem, some metrics (such as “l1tex__t_sector_hit_rate”) which are available in the documentation and default section files are not shown in “–query-metrics” for my GPU (Titan RTX).
I would appreciate any hint or solution to these.