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
Tento commit je obsažen v:
Saurabh Verma authored and Giovanni Baraldi committed 2023-12-20 14:04:10 -05:00
1 rodič 7b98e43276
revize b18bc9930b
3 files changed
+12 -1

No files matched your search

+5 -1
Zobrazit soubor
@@ -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);