Commit 684a23c7 authored by alph@chromium.org's avatar alph@chromium.org

DevTools: Do not count events from other threads in aggregated stats.

Review URL: https://codereview.chromium.org/451993003

git-svn-id: svn://svn.chromium.org/blink/trunk@179970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 094d1279
......@@ -713,6 +713,8 @@ WebInspector.TracingTimelineUIUtils._aggregatedStatsForTraceEvent = function(tot
break;
if (!nextEvent.selfTime)
continue;
if (nextEvent.thread !== event.thread)
continue;
if (i > index)
hasChildren = true;
var category = WebInspector.TracingTimelineUIUtils.styleForTraceEvent(nextEvent.name).category.name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment