| <!-- |
| Copyright 2022 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <!-- |
| This file is used to generate a comprehensive list of Views histograms |
| along with a detailed description for each histogram. |
| |
| For best practices on writing histogram descriptions, see |
| https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md |
| |
| Please follow the instructions in the OWNERS file in this directory to find a |
| reviewer. If no OWNERS file exists, please consider signing up at |
| go/reviewing-metrics (Googlers only), as all subdirectories are expected to |
| have an OWNERS file. As a last resort you can send the CL to |
| chromium-metrics-reviews@google.com. |
| --> |
| |
| <histogram-configuration> |
| |
| <histograms> |
| |
| <histogram name="Views.ColorProviderCacheSize" units="entries" |
| expires_after="2023-10-22"> |
| <owner>pkasting@chromium.org</owner> |
| <owner>tluk@chromium.org</owner> |
| <owner>skau@chromium.org</owner> |
| <summary> |
| Records the size of the ColorProviderManager cache when a new ColorProvider |
| is generated. New entries are generated when a client requests a |
| ColorProvider with a Key that is not in the cache. Since the cache size is |
| capped, a distribution with too many results at the tail indicate that the |
| cache is too small. |
| </summary> |
| </histogram> |
| |
| <histogram |
| name="Views.{Process}.NumColorProvidersInitializedDuringOnNativeThemeUpdated" |
| units="providers" expires_after="2024-04-16"> |
| <owner>pkasting@chromium.org</owner> |
| <owner>tluk@chromium.org</owner> |
| <owner>skau@chromium.org</owner> |
| <summary> |
| Records the number of ColorProvider instances constructed and initialized by |
| the ColorProviderManager following a NativeTheme update in a {Process} |
| process. Emitted after the NotifyOnNativeThemeUpdated() event has been |
| processed. |
| </summary> |
| <token key="Process"> |
| <variant name="Browser"/> |
| <variant name="NonBrowser"/> |
| </token> |
| </histogram> |
| |
| <histogram name="Views.{Process}.TimeSpentInitializingColorProvider" units="ms" |
| expires_after="2024-04-16"> |
| <owner>pkasting@chromium.org</owner> |
| <owner>tluk@chromium.org</owner> |
| <owner>skau@chromium.org</owner> |
| <summary> |
| Records the time spent initializing a newly constructed ColorProvider |
| instance in a {Process} process. The timer starts immediately before the |
| ColorProvider is constructed and emitted immediately after initialization |
| (i.e. all mixers are run and the ColorMap is created). |
| </summary> |
| <token key="Process"> |
| <variant name="Browser"/> |
| <variant name="NonBrowser"/> |
| </token> |
| </histogram> |
| |
| <histogram name="Views.{Process}.TimeSpentProcessingOnNativeThemeUpdatedEvent" |
| units="ms" expires_after="2024-04-16"> |
| <owner>pkasting@chromium.org</owner> |
| <owner>tluk@chromium.org</owner> |
| <owner>skau@chromium.org</owner> |
| <summary> |
| Records the time spent synchronously processing the the |
| NotifyOnNativeThemeUpdated() event in a {Process} process. The timer starts |
| as soon as the event handler is entered and emitted when code returns from |
| the event handler. |
| </summary> |
| <token key="Process"> |
| <variant name="Browser"/> |
| <variant name="NonBrowser"/> |
| </token> |
| </histogram> |
| |
| </histograms> |
| |
| </histogram-configuration> |