commit | 849036d051e07120a8c2f02b10c69113a0771d23 | [log] [tgz] |
---|---|---|
author | Ilya Sherman <isherman@chromium.org> | Fri Oct 05 04:58:17 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 05 04:58:17 2018 |
tree | 2a7a1050a2bc567c2128b85d3a5376d17cd4a5cd | |
parent | a16df71fa9c937752773c93d8293938761f9a598 [diff] |
[Cleanup] Simplify the CallStackProfileMetricsProvider * Hide more internal logic within PendingProfiles * Ensure that the functions that collect profiles cannot be called without verifying that collection is enabled. * Move profile serialization out from being under a lock. There's an important implementation detail: Profiles stored in the two vectors might end up interleaved, in terms of timestamps. However, it is still guaranteed that profiles from a single process are ordered consistently in the uploaded data, which is sufficient for later efficient processing. BUG=888716,851163 R=chengx@chromium.org Change-Id: I94c4ab165753e8a09a53490494f8161b197f1428 Reviewed-on: https://chromium-review.googlesource.com/c/1258514 Reviewed-by: Xi Cheng <chengx@chromium.org> Commit-Queue: Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#596997}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .