Revert memory allocation CSV output file header and update tests (#532)

* Reverted header and field location for csv memory allocation and updated tests

* Updated example csv file and made small update

[ROCm/rocprofiler-sdk commit: 533a8329d8]
This commit is contained in:
Trowbridge, Ian authored and GitHub committed 2025-08-04 13:22:27 -05:00
1 vanhempi ea891a16fd
commit 6b2a4fcfc2
6 files changed
+202 -36

No files matched your search

@@ -472,11 +472,11 @@ generate_csv(const output_config&
{"Kind",
"Operation",
"Agent_Id",
"Allocation_Size",
"Address",
"Correlation_Id",
"Start_Timestamp",
"End_Timestamp",
"Allocation_Size"}};
"End_Timestamp"}};
for(auto ditr : data)
{
for(auto record : data.get(ditr))
@@ -498,11 +498,11 @@ generate_csv(const output_config&
tool_metadata.get_kind_name(record.kind),
api_name,
agent_info,
record.allocation_size,
rocprofiler::sdk::utility::as_hex(record.address.handle, 16),
record.correlation_id.internal,
record.start_timestamp,
record.end_timestamp,
record.allocation_size);
record.end_timestamp);
ofs << row_ss.str();
}