VisualDL icon indicating copy to clipboard operation
VisualDL copied to clipboard

[Bug] fix _build_tree_relationship in ProfilerResult

Open shaoeric opened this issue 1 year ago • 1 comments

bug描述:

当OP调用runtimeP,而runtime P调用runtime C时,两个runtime会成为兄弟节点 存放在 OP.runtime_node

期望:

runtime C应该成为runtime P的子runtime节点

OP
  .runtime_node=[
    runtime P
      .runtime_node=[
          runtime C
      ]
  ]

附件

附件中是一个脱敏的样例,cudaRT_P 调用了 cudaRT_C

shaoeric avatar Jun 29 '23 10:06 shaoeric

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 29 '23 10:06 CLAassistant