• Etienne Bergeron's avatar
    Add samping profiler to GPU compositor thread · 9349ee1a
    Etienne Bergeron authored
    This CL is adding a sampling profiler track for the compositor
    thread to slow-reports.
    
    The TracingSamplerProfiler is responsible to take CPU sampling
    profiler and put them into tracing iff slow-reports is activated.
    The class destructor is responsible to stop CPU sampling if
    needed. The sampling profiler will be working for the whole
    tracing session.
    
    The TracingSamplerProfiler is able to manage turning on and off
    tracing at any point in time.
    
    For users not part of the control population, this should not
    affect the performance at all.
    
    Bug: 1064662
    Change-Id: I658e97fcc6585918b6762878ade3a1ddb31f3a69
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119220Reviewed-by: default avatarkylechar <kylechar@chromium.org>
    Reviewed-by: default avataroysteine <oysteine@chromium.org>
    Commit-Queue: Etienne Bergeron <etienneb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#753779}
    9349ee1a
DEPS 716 Bytes