From e9f4eb71559c14329eec29c576749742cf50a5b2 Mon Sep 17 00:00:00 2001 From: caifubi Date: Wed, 20 May 2020 15:44:16 +0800 Subject: [PATCH] remove graph id in framework file --- mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc b/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc index d8f2504d6..62e18793b 100644 --- a/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc +++ b/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc @@ -317,13 +317,11 @@ void ProfilingUtils::ReportProfilingData(const std::vector &task_ids, auto context = MsContext::GetInstance(); MS_EXCEPTION_IF_NULL(context); - TaskDescReporter task_reporter(context->device_id(), "vm.task_desc_info_" + std::to_string(graph->graph_id()), - ret->second); + TaskDescReporter task_reporter(context->device_id(), "vm.task_desc_info", ret->second); task_reporter.set_task_ids(task_ids); task_reporter.ReportData(); - GraphDescReporter graph_reporter(context->device_id(), "vm.graph_desc_info_" + std::to_string(graph->graph_id()), - ret->second); + GraphDescReporter graph_reporter(context->device_id(), "vm.graph_desc_info", ret->second); graph_profiling_cnode_.erase(ret); graph_reporter.ReportData(); } -- GitLab