Browse Source

!779 Feature: delete is_load_profiling_ reset to false

From: @lixiwen1
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @startzgf168,@ji_chen
pull/779/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
a552edfd11
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      ge/common/profiling/profiling_manager.cc

+ 0
- 1
ge/common/profiling/profiling_manager.cc View File

@@ -91,7 +91,6 @@ ge::Status ProfilingManager::InitFromOptions(const Options &options, MsprofGeOpt
#ifdef DAVINCI_SUPPORT_PROFILING #ifdef DAVINCI_SUPPORT_PROFILING
// enable profiling by env // enable profiling by env
char env_profiling_mode[MMPA_MAX_PATH] = { 0x00 }; char env_profiling_mode[MMPA_MAX_PATH] = { 0x00 };
is_load_profiling_ = false; // Change in ProfInit
is_execute_profiling_ = false; is_execute_profiling_ = false;


if (options.profiling_mode == "1" && !options.profiling_options.empty()) { if (options.profiling_mode == "1" && !options.profiling_options.empty()) {


Loading…
Cancel
Save