forked from OSSInnovation/mindspore
!3867 Fix Profiling Data Flush Failed while GLOG_v > 1
Merge pull request !3867 from caifubi/profiling
This commit is contained in:
commit
0a89563f37
|
@ -181,7 +181,8 @@ bool ProfilingManager::StopProfiling() {
|
|||
}
|
||||
Msprof::Engine::Reporter *reporter = PluginImpl::GetPluginReporter();
|
||||
if (reporter != nullptr) {
|
||||
MS_LOG(INFO) << "report data end, ret = " << reporter->Flush();
|
||||
auto ret = reporter->Flush();
|
||||
MS_LOG(INFO) << "report data end, ret = " << ret;
|
||||
}
|
||||
|
||||
auto rt_ret = rtProfilerStop();
|
||||
|
|
Loading…
Reference in New Issue