Add samping profiler to GPU compositor thread
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:kylechar <kylechar@chromium.org> Reviewed-by:
oysteine <oysteine@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#753779}
Showing
Please register or sign in to comment