Fixed format of presenting MI300 counters for individual xccs

1. Modified rocprofiler_record_profiler_t to include xcc_index
2. Modified file plugin to add additional column XCC_Index to the csv

Change-Id: Ic526c739e16b50dca5704070ccabbcbecd994d6a
This commit is contained in:
Saurabh Verma
2023-11-10 16:11:59 -06:00
committed by Giovanni Baraldi
parent 7b98e43276
commit b18bc9930b
3 changed files with 12 additions and 1 deletions
+5 -1
View File
@@ -1102,6 +1102,10 @@ typedef struct {
* The count of the counters that were collected by the profiler
*/
rocprofiler_record_counters_instances_count_t counters_count; /* Counters Count */
/**
* The index of the xcc from which these counters were collected
*/
uint32_t xcc_index;
/**
* kernel properties, including the grid size, work group size,
* registers count, wave size and completion signal
@@ -2394,7 +2398,7 @@ rocprofiler_codeobj_capture_free(rocprofiler_record_id_t id);
* \param[in] id record handle.
* \retval ::ROCPROFILER_STATUS_SUCCESS The function has been executed successfully.
* \retval ::ROCPROFILER_STATUS_ERROR_INVALID_ARGUMENTS invalid ID.
*/
*/
ROCPROFILER_API rocprofiler_status_t
rocprofiler_codeobj_capture_start(rocprofiler_record_id_t id);