Browse Source

Feature: delete is_load_profiling_ reset to false

pull/779/head
l00444296 4 years ago
parent
commit
d1eb560616
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
// enable profiling by env
char env_profiling_mode[MMPA_MAX_PATH] = { 0x00 };
is_load_profiling_ = false; // Change in ProfInit
is_execute_profiling_ = false;

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


Loading…
Cancel
Save