提交 4419881f 编写于 作者: W wuyongkang

Fix optimizer step counter bug

上级 19334b4f
......@@ -184,7 +184,8 @@ class Optimizer : public std::enable_shared_from_this<Optimizer> {
}
}
};
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter++)) run_runc) : run_runc();
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter)) run_runc) : run_runc();
counter++;
if (run_only_once_) {
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册