Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index b42135ab4be8d99939fdea5df70e578b95f3b3bb..55256e968d38d01cdebbd5a1013e5d3f6160ee64 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -64,7 +64,9 @@ The complete list of histograms will be: |
| When 'ordering="prefix"' is present in the histogram_suffixes tag, the suffix |
| will be inserted after the first dot separator of the affected-histogram name. |
| -Therefore, the affected-histogram name has to have at least one dot in it. |
| +Optionally, ordering can be specified as "prefix,N" where N indicates after |
| +how many dots the suffix should be inserted (default=1). The affected-histogram |
| +name has to have at least N dots in it. |
| Googlers: There are also a small number of private internal histograms found at |
| http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| @@ -69820,185 +69822,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| </summary> |
| </histogram> |
| -<histogram name="UMA.PersistentAllocator.BrowserMetrics.Allocs" units="bytes"> |
| +<histogram name="UMA.PersistentAllocator.Allocs" units="bytes"> |
| <owner>bcwhite@chromium.org</owner> |
| <owner>asvitkine@chromium.org</owner> |
| <summary> |
| - Size, before padding, of objects allocated from persistent memory in the |
| - browser process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.BrowserMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.FieldTrialAllocator.Allocs" |
| - units="bytes"> |
| - <owner>lawrencewu@chromium.org</owner> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size of objects allocated from persistent memory in the browser process for |
| - field trials. Updated on each subprocess launch. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.FieldTrialAllocator.UsedPct" units="%"> |
| - <owner>lawrencewu@chromium.org</owner> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated on each subprocess launch. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.GpuMetrics.Allocs" units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a GPU |
| - process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.GpuMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.PpapiBrokerMetrics.Allocs" |
| - units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - "PPAPI broker" process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.PpapiBrokerMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| + Size, before padding, of objects allocated from persistent memory. This is |
| + updated with every allocation. |
| </summary> |
| </histogram> |
| -<histogram name="UMA.PersistentAllocator.PpapiPluginMetrics.Allocs" |
| - units="bytes"> |
| +<histogram name="UMA.PersistentAllocator.Errors" |
| + enum="PersistentAllocatorErrors"> |
| <owner>bcwhite@chromium.org</owner> |
| <owner>asvitkine@chromium.org</owner> |
| <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - "PPAPI plugin" process. This is updated with every allocation. |
| + Errors detected by the persistent memory allocator. These are set when they |
| + occur. |
| </summary> |
| </histogram> |
| -<histogram name="UMA.PersistentAllocator.PpapiPluginMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.RendererMetrics.Allocs" units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - renderer process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.RendererMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.SandboxHelperMetrics.Allocs" |
| - units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - "sandbox helper" process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.SandboxHelperMetrics.UsedPct" |
| - units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.SetupMetrics.Allocs" units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a setup |
| - process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.SetupMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.UtilityMetrics.Allocs" units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - "utility" process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.UtilityMetrics.UsedPct" units="%"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Percentage of persistent memory segment that has been allocated. This is |
| - updated only once per reporting cycle. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.ZygoteMetrics.Allocs" units="bytes"> |
| - <owner>bcwhite@chromium.org</owner> |
| - <owner>asvitkine@chromium.org</owner> |
| - <summary> |
| - Size, before padding, of objects allocated from persistent memory in a |
| - "zygote" process. This is updated with every allocation. |
| - </summary> |
| -</histogram> |
| - |
| -<histogram name="UMA.PersistentAllocator.ZygoteMetrics.UsedPct" units="%"> |
| +<histogram name="UMA.PersistentAllocator.UsedPct" units="%"> |
|
Alexei Svitkine (slow)
2017/01/18 18:46:59
add base="true" to indicate the histogram is not l
bcwhite
2017/01/18 19:06:59
Done.
|
| <owner>bcwhite@chromium.org</owner> |
| <owner>asvitkine@chromium.org</owner> |
| <summary> |
| @@ -100064,6 +99907,10 @@ value. |
| <int value="9" label="DEPRECATED_XML_PROTO_MISMATCH"/> |
| </enum> |
| +<enum name="PersistentAllocatorErrors" type="int"> |
| + <int value="1" label="Allocator memory is corrupt (set only once)"/> |
| +</enum> |
| + |
| <enum name="PersistentHistogramsInitResult" type="int"> |
| <int value="0" label="Local-Memory Success"/> |
| <int value="1" label="Local-Memory Failure"/> |
| @@ -114834,6 +114681,63 @@ value. |
| <affected-histogram name="Permissions.Requested.CrossOrigin"/> |
| </histogram_suffixes> |
| +<histogram_suffixes name="PersistentMemoryAllocs" separator="." |
| + ordering="prefix,2"> |
| + <suffix name="BrowserMetrics" label="For browser process metrics."/> |
| + <suffix name="FieldTrialAllocator" label="For field-trial allocator."/> |
| + <suffix name="GpuMetrics" label="For GPU process metrics."/> |
| + <suffix name="PpapiBrokerMetrics" |
| + label="For "PPAPI broker" process metrics."/> |
| + <suffix name="PpapiPluginMetrics" |
| + label="For "PPAPI plugin" process metrics."/> |
| + <suffix name="RendererMetrics" label="For renderer process metrics."/> |
| + <suffix name="SandboxHelperMetrics" |
| + label="For "sandbox helper" process metrics."/> |
| + <suffix name="SetupMetrics" label="For setup metrics."/> |
| + <suffix name="UtilityMetrics" |
| + label="For "utility" process metrics."/> |
| + <suffix name="ZygoteMetrics" label="For "zygote" process metrics."/> |
| + <affected-histogram name="UMA.PersistentAllocator.Allocs"/> |
| +</histogram_suffixes> |
| + |
| +<histogram_suffixes name="PersistentMemoryErrors" separator="." |
| + ordering="prefix,2"> |
| + <suffix name="BrowserMetrics" label="For browser process metrics."/> |
| + <suffix name="FieldTrialAllocator" label="For field-trial allocator."/> |
| + <suffix name="GpuMetrics" label="For GPU process metrics."/> |
| + <suffix name="PpapiBrokerMetrics" |
| + label="For "PPAPI broker" process metrics."/> |
| + <suffix name="PpapiPluginMetrics" |
| + label="For "PPAPI plugin" process metrics."/> |
| + <suffix name="RendererMetrics" label="For renderer process metrics."/> |
| + <suffix name="SandboxHelperMetrics" |
| + label="For "sandbox helper" process metrics."/> |
| + <suffix name="SetupMetrics" label="For setup metrics."/> |
| + <suffix name="UtilityMetrics" |
| + label="For "utility" process metrics."/> |
| + <suffix name="ZygoteMetrics" label="For "zygote" process metrics."/> |
| + <affected-histogram name="UMA.PersistentAllocator.Errors"/> |
| +</histogram_suffixes> |
| + |
| +<histogram_suffixes name="PersistentMemoryUsedPct" separator="." |
| + ordering="prefix,2"> |
| + <suffix name="BrowserMetrics" label="For browser process metrics."/> |
| + <suffix name="FieldTrialAllocator" label="For field-trial allocator."/> |
| + <suffix name="GpuMetrics" label="For GPU process metrics."/> |
| + <suffix name="PpapiBrokerMetrics" |
| + label="For "PPAPI broker" process metrics."/> |
| + <suffix name="PpapiPluginMetrics" |
| + label="For "PPAPI plugin" process metrics."/> |
| + <suffix name="RendererMetrics" label="For renderer process metrics."/> |
| + <suffix name="SandboxHelperMetrics" |
| + label="For "sandbox helper" process metrics."/> |
| + <suffix name="SetupMetrics" label="For setup metrics."/> |
| + <suffix name="UtilityMetrics" |
| + label="For "utility" process metrics."/> |
| + <suffix name="ZygoteMetrics" label="For "zygote" process metrics."/> |
| + <affected-histogram name="UMA.PersistentAllocator.UsedPct"/> |
| +</histogram_suffixes> |
| + |
| <histogram_suffixes name="PhysicalWebDebugActions" separator="."> |
| <suffix name="ChromeStart" label="when Chrome first starts up"/> |
| <suffix name="LaunchFromDiagnostics" |