未验证 提交 e0e205ea 编写于 作者: W wangchaochaohu 提交者: GitHub

fix the profiling bug test=develop (#21396)

上级 b97fc16d
...@@ -498,7 +498,7 @@ void ParseEvents(const std::vector<std::vector<Event>> &events, ...@@ -498,7 +498,7 @@ void ParseEvents(const std::vector<std::vector<Event>> &events,
event_idx[event_name] = event_items.size(); event_idx[event_name] = event_items.size();
EventItem event_item = {event_name, 1, event_time, EventItem event_item = {event_name, 1, event_time,
event_time, event_time, event_time, event_time, event_time, event_time,
gpu_time, cpu_time, 0.}; cpu_time, gpu_time, 0.};
event_items.push_back(event_item); event_items.push_back(event_item);
} else { } else {
int index = event_idx[event_name]; int index = event_idx[event_name];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册