|
|
|
@@ -2205,7 +2205,7 @@ Status DavinciModel::SinkModelProfile() { |
|
|
|
auto &prof_mgr = ProfilingManager::Instance(); |
|
|
|
ReporterData reporter_data{}; |
|
|
|
// report model data tag name |
|
|
|
std::string tag_name("model_load_info_" + std::to_string(this->Id())); |
|
|
|
std::string tag_name("model_load_info_" + std::to_string(this->Id()) + "_" + std::to_string(this->SubModelId())); |
|
|
|
GE_CHK_BOOL_EXEC(memcpy_s(reporter_data.tag, MSPROF_ENGINE_MAX_TAG_LEN, tag_name.c_str(), tag_name.size()) == EOK, |
|
|
|
return FAILED, "Sink model tag memcpy error."); |
|
|
|
|
|
|
|
|