Web Inspector: Memory timeline starts from zero when both CPU and Memory timeline...
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Feb 2019 21:24:14 +0000 (21:24 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Feb 2019 21:24:14 +0000 (21:24 +0000)
commitb1d19b9a7e47f66cf98fe1918656be99bf2936ee
tree79cdf1367caa2d0d6070dd884df0335a3fcb0157
parente4764b3ed2443f6609a28cf012de6e5ba1eed5c9
Web Inspector: Memory timeline starts from zero when both CPU and Memory timeline are enabled
https://bugs.webkit.org/show_bug.cgi?id=194111
<rdar://problem/47714555>

Rubber-stamped by Devin Rousso.

* page/ResourceUsageThread.cpp:
(WebCore::ResourceUsageThread::waitUntilObservers):
(WebCore::ResourceUsageThread::threadBody):
Wait a short period of time before the first listener registers
and we start sampling. This will allow multiple listeners to
register, each that wants different data.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/ResourceUsageThread.cpp