Adding start and end timestamp columns in csv (#1128)

* Adding start and end timestamp columns in csv

* Adding assert check for the counter timestamps

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
Αυτή η υποβολή περιλαμβάνεται σε:
Manjunath P JakaraddiκαιGopesh Bhardwaj authored and GitHub committed 2024-10-17 11:31:00 +05:30
1 γονέας 28a6918b33
υποβολή 673c21c6db
5 files changed
+14 -8

No files matched your search

@@ -483,7 +483,9 @@ generate_csv(tool_table* too
"VGPR_Count",
"SGPR_Count",
"Counter_Name",
"Counter_Value"}};
"Counter_Value",
"Start_Timestamp",
"End_Timestamp"}};
for(const auto& record : data)
{
auto kernel_id = record.dispatch_data.dispatch_info.kernel_id;
@@ -525,7 +527,9 @@ generate_csv(tool_table* too
record.arch_vgpr_count,
record.sgpr_count,
itr.first,
itr.second);
itr.second,
record.dispatch_data.start_timestamp,
record.dispatch_data.end_timestamp);
}
ofs << row_ss.str();
}