未验证 提交 5c811382 编写于 作者: L liutiexing 提交者: GitHub

Fix statistics (#42232)

* WorkQueue supports always_spinning option

* update

* update

* fix stat
上级 5d136510
......@@ -408,6 +408,7 @@ int StatisticsEngine::Stat(const platform::NodeTrees& trees) {
// See InterpreterCore::RunInstruction for details.
if (child->Type() == platform::TracerEventType::Operator &&
cur_node->Name() == "compute") {
removed.insert(cur_node);
removed.insert(child);
}
q.push(child);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册