diff --git a/ge/common/profiling/profiling_manager.cc b/ge/common/profiling/profiling_manager.cc index 4021d940..51df1a43 100644 --- a/ge/common/profiling/profiling_manager.cc +++ b/ge/common/profiling/profiling_manager.cc @@ -204,7 +204,7 @@ ge::Status ProfilingManager::ParseOptions(const std::string &options) { is_training_trace_ = true; } catch (...) { GELOGE(FAILED, "[Check][Param]Json prof_conf options is invalid"); - REPORT_INNER_ERRO("E19999", "Json prof_conf options is invalid"); + REPORT_INNER_ERROR("E19999", "Json prof_conf options is invalid"); return ge::PARAM_INVALID; } return ge::SUCCESS; @@ -601,7 +601,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ProfilingManager::ProfFi int32_t dev_num = -1; rtError_t rt_ret = rtProfilerStop(PROF_MODEL_LOAD_MASK, dev_num, nullptr); if (rt_ret != RT_ERROR_NONE) { - GELOGE(FAILED, "[Stop][Profiler]Failed, ret 0x%X", rt_ret); + GELOGE(FAILED, "[Stop][Profiler]Failed, ret 0x%X", rt_ret); REPORT_CALL_ERROR("E19999", "Stop rumtime profiler faield, ret 0x%X", rt_ret); return FAILED; } @@ -670,10 +670,8 @@ Status ProfilingManager::ProfParseDeviceId(const std::map