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ファイル変更
+14 -8

検索条件に一致するファイルはありません

+6 -2
ファイルの表示
@@ -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();
}