Browse Source

optimize log print

tags/v1.2.0
taoxiangdong 3 years ago
parent
commit
e177e5c001
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ge/common/profiling/ge_profiling.cc

+ 2
- 1
ge/common/profiling/ge_profiling.cc View File

@@ -181,7 +181,8 @@ ge::Status ProfCommandHandle(ProfCommandHandleType type, void *data, uint32_t le
if (type != kProfCommandhandleFinalize) {
command.module_index = prof_config_param->profSwitch;
}
GELOGI("GE commandhandle execute, Command Type: %d, data type config: 0x%llx", type, command.module_index);
GELOGI("GE commandhandle execute, Command Type: %s, data type config: 0x%llx", iter->second.c_str(),
command.module_index);
if (type == kProfCommandhandleStart || type == kProfCommandhandleStop) {
GELOGI("Profiling device nums:%s , deviceID:[%s]", prof_params[0].c_str(), prof_params[kDeviceListIndex].c_str());
}


Loading…
Cancel
Save