提交 2905fb8c 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4311 Fix minddata monitoring

Merge pull request !4311 from anthonyaje/monitor_fix
......@@ -38,8 +38,8 @@ Status Monitor::operator()() {
while (!this_thread::is_interrupted() && !(tree_->isFinished())) {
for (auto &node : tree_->GetProfilingManager()->GetSamplingNodes()) {
RETURN_IF_NOT_OK(node.second->Sample());
std::this_thread::sleep_for(std::chrono::milliseconds(sampling_interval_));
}
std::this_thread::sleep_for(std::chrono::milliseconds(sampling_interval_));
}
// Output all profiling data upon request.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册