⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243679 in webkit


Ignore:
Timestamp:
Mar 30, 2019, 9:38:17 AM (7 years ago)
Author:
Joseph Pecoraro
Message:

Web Inspector: JSC Sampling Profiler thread not getting subtracted in CPU Usage Timeline
https://bugs.webkit.org/show_bug.cgi?id=196419
<rdar://problem/49444023>

Reviewed by Devin Rousso.

  • page/ResourceUsageThread.cpp:

(WebCore::ResourceUsageThread::addObserver):
We forgot to call the function that would setup platform state
allowing us to subtract out the sampling profiler thread.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r243678 r243679  
     12019-03-30  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: JSC Sampling Profiler thread not getting subtracted in CPU Usage Timeline
     4        https://bugs.webkit.org/show_bug.cgi?id=196419
     5        <rdar://problem/49444023>
     6
     7        Reviewed by Devin Rousso.
     8
     9        * page/ResourceUsageThread.cpp:
     10        (WebCore::ResourceUsageThread::addObserver):
     11        We forgot to call the function that would setup platform state
     12        allowing us to subtract out the sampling profiler thread.
     13
    1142019-03-30  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/page/ResourceUsageThread.cpp

    r240868 r243679  
    5959        resourceUsageThread.recomputeCollectionMode();
    6060
    61         if (wasEmpty)
     61        if (wasEmpty) {
     62            resourceUsageThread.platformSaveStateBeforeStarting();
    6263            resourceUsageThread.m_condition.notifyAll();
     64        }
    6365    }
    6466}
Note: See TracChangeset for help on using the changeset viewer.