From f4c343d7dd9bdf02bc309d563e1faed55a2b3a42 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 27 Mar 2021 18:59:20 +0800 Subject: [PATCH] For step info. --- ge/common/profiling/profiling_manager.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ge/common/profiling/profiling_manager.cc b/ge/common/profiling/profiling_manager.cc index 40dc8d89..58148fe3 100644 --- a/ge/common/profiling/profiling_manager.cc +++ b/ge/common/profiling/profiling_manager.cc @@ -48,6 +48,9 @@ const std::string kBlockDim = "block_dims"; const std::string kTaskId = "task_id"; const std::string kStreamId = "stream_id"; const std::string kThreadId = "thread_id"; +const std::string kIndexId = "index_id"; +const std::string kTimeStamp = "time_stamp"; +const std::string kTagId = "tag_id"; const std::string kShapeType = "shape_type"; const std::string kCurIterNum = "cur_iter_num"; const std::string kTaskType = "task_type"; @@ -318,7 +321,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ProfileStepInfo( Json step_info; step_info[kIndexId] = index_id; - step_info[kModeleId] = model_id; + step_info[kModelId] = model_id; step_info[kTimeStamp] = time; step_info[kTagId] = tag_id; step_info[kTaskId] = task_id;