Skip to content

Commit

Permalink
VITIS-11093 Rename usage metrics column to command submissions. Remov…
Browse files Browse the repository at this point in the history
…e device BO metrics column. (#7883)

Signed-off-by: Daniel Benusovich <[email protected]>
  • Loading branch information
dbenusov authored Jan 16, 2024
1 parent 8a67776 commit f0b9740
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
// Copyright (C) 2023-2024 Advanced Micro Devices, Inc. All rights reserved.

// ------ I N C L U D E F I L E S -------------------------------------------
// Local - Include Files
Expand Down Expand Up @@ -100,9 +100,8 @@ writeReport(const xrt_core::device* /*_pDevice*/,
const std::vector<Table2D::HeaderData> table_headers = {
{"Slot ID", Table2D::Justification::left},
{"Xclbin UUID", Table2D::Justification::left},
{"Usage Count", Table2D::Justification::left},
{"Migration Count", Table2D::Justification::left},
{"Device BO Sync Count", Table2D::Justification::left}
{"Command Submissions", Table2D::Justification::left},
{"Migration Count", Table2D::Justification::left}
};
Table2D context_table(table_headers);

Expand All @@ -113,8 +112,7 @@ writeReport(const xrt_core::device* /*_pDevice*/,
hw_context.get<std::string>("slot_id"),
hw_context.get<std::string>("xclbin_uuid"),
hw_context.get<std::string>("usage_count"),
hw_context.get<std::string>("migration_count"),
hw_context.get<std::string>("device_bo_sync_count")
hw_context.get<std::string>("migration_count")
};
context_table.addEntry(entry_data);
}
Expand Down Expand Up @@ -150,7 +148,4 @@ writeReport(const xrt_core::device* /*_pDevice*/,
}
_output << boost::str(boost::format("%s\n") % verbose_table.toString(" "));
}

_output << "\n";
}

0 comments on commit f0b9740

Please sign in to comment.