commit | b79116d2a05bc06fe1e2c2be38870e1fd89dc057 | [log] [tgz] |
---|---|---|
author | Kramer Ge <fangzhoug@chromium.org> | Thu Dec 12 21:41:20 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 12 21:41:20 2024 |
tree | 2054f178b8b20a802e169a2c8726bdadaa39dfa0 | |
parent | 05db09d07e1f22b6821101993ac793045bd98b1a [diff] |
Add startup_trace global to collect trace events during gpu_init gpu_init is called before tracing is initialized. To capture a breakdown of time spent on various stages of gpu process initialization. Use StartupTrace global to capture traces via GPU_STARTUP_TRACE_EVENT. Traces will be emitted before gpu_main runloop runs. Example: GPU_STARTUP_TRACE_EVENT(__func__); Change-Id: I2c576e99962a9bf5ad522ceee3c5a049200bcb79 Bug: 380411640 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037513 Commit-Queue: Kramer Ge <fangzhoug@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1395609}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.