diff --git a/src/runtime_src/xdp/profile/writer/aie_profile/aie_writer.cpp b/src/runtime_src/xdp/profile/writer/aie_profile/aie_writer.cpp index ef7e0bdf75..96e16718b5 100644 --- a/src/runtime_src/xdp/profile/writer/aie_profile/aie_writer.cpp +++ b/src/runtime_src/xdp/profile/writer/aie_profile/aie_writer.cpp @@ -56,6 +56,8 @@ namespace xdp { void AIEProfilingWriter::writeMetricSettings() { + auto metadataReader = (db->getStaticInfo()).getAIEmetadataReader(); + uint8_t col_shift = metadataReader->getPartitionOverlayStartCols().front(); auto validConfig = (db->getStaticInfo()).getProfileConfig(); std::map> filteredConfig; @@ -69,7 +71,7 @@ namespace xdp { const auto& validMetrics = configMetrics[i]; for(auto &elm : validMetrics) { - metrics.push_back(std::to_string(+elm.first.col) + "," + \ + metrics.push_back(std::to_string(+(elm.first.col+col_shift)) + "," + \ aie::getRelativeRowStr(elm.first.row, validConfig.tileRowOffset) \ + "," + elm.second); if (i == module_type::shim && elm.second == METRIC_BYTE_COUNT) {