From ed71d4cb3af4292d50213433f58c20f1b31f824f Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Thu, 7 Jan 2021 21:45:20 +0800 Subject: [PATCH] Update model load profiling tag --- ge/graph/load/new_model_manager/davinci_model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/graph/load/new_model_manager/davinci_model.cc b/ge/graph/load/new_model_manager/davinci_model.cc index 088e10f5..5b6a5fb4 100755 --- a/ge/graph/load/new_model_manager/davinci_model.cc +++ b/ge/graph/load/new_model_manager/davinci_model.cc @@ -2228,7 +2228,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.");