forked from OSSInnovation/mindspore
Fix profiling data Flush failed in GLOG_v > 1
This commit is contained in:
parent
fc259aebcf
commit
d01ca09e41
|
@ -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