Skip to content

Commit

Permalink
Run pretty_print.py on .../cobalt/histograms.xml (#3100)
Browse files Browse the repository at this point in the history
As suggested by the comment in the beginning of the file.

b/276483058
  • Loading branch information
xiaomings committed Apr 29, 2024
1 parent fac2625 commit f70b71e
Showing 1 changed file with 99 additions and 113 deletions.
212 changes: 99 additions & 113 deletions tools/metrics/histograms/metadata/cobalt/histograms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,70 @@ Always run the pretty print utility on this file after editing:
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.CrashpadInstallationStatus"
enum="CrashpadInstallationStatus" expires_after="never">
<!-- expires-never: Needed for crash reporting system health metrics. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>Status of Crashpad installation by the Loader App.</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfDecompressionDuration" units="ms"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The time it takes for the ELF dynamic shared library, stored as a compressed
file, to be decompressed. This metric is only recorded when the shared
library is stored as a compressed file.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfLoadDuration" units="ms"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The time it takes for Cobalt's ELF Loader to load the dynamic shared
library, which under normal operation is the Cobalt Core library. This
metric is only recorded when the shared library is stored as a compressed
file, and this metric includes the decompression time.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfLoadUnexplainedDuration" units="ms"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Cobalt.LoaderApp.ElfLoadDuration minus
Cobalt.LoaderApp.ElfDecompressionDuration. This metric is only recorded when
the shared library is stored as a compressed file.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.MaxSampledUsedCPUMemoryDuringELFLoad"
units="MB" expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The maximum sampled value of CPU memory used by the Loader App while the ELF
dynamic shared library is being loaded. Note that this maximum sampled value
is not guaranteed to be the true maximum value, which could be greater. This
metric is only recorded when the shared library is stored as a compressed
file.
</summary>
</histogram>

<histogram name="Cobalt.Media.HasEverPlayed" enum="PipelineStatus"
expires_after="never">
<!-- expires-never: Needed for baseline Media pipeline health metric. -->
Expand All @@ -73,9 +137,7 @@ Always run the pretty print utility on this file after editing:

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for calls to `HTMLMediaElement.canPlayType`.
</summary>
<summary>Timing data for calls to `HTMLMediaElement.canPlayType`.</summary>
</histogram>

<histogram name="Cobalt.Media.MediaSource.IsTypeSupported.Timing"
Expand All @@ -84,9 +146,7 @@ Always run the pretty print utility on this file after editing:

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for calls to `MediaSource.isTypeSupported`.
</summary>
<summary>Timing data for calls to `MediaSource.isTypeSupported`.</summary>
</histogram>

<histogram name="Cobalt.Media.PipelineStatus.AudioOnly" enum="PipelineStatus"
Expand Down Expand Up @@ -173,82 +233,74 @@ Always run the pretty print utility on this file after editing:
</summary>
</histogram>

<histogram name="Cobalt.Media.SourceBuffer.AppendBuffer.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->
<histogram name="Cobalt.Media.SbPlayer.Create.Timing" units="microseconds"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->

<owner>async@google.com</owner>
<owner>sideboard@google.com</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the main action of the `SourceBuffer.appendBuffer` call.
</summary>
<summary>Timing data for the creation of SbPlayer.</summary>
</histogram>

<histogram name="Cobalt.Media.SourceBuffer.PrepareAppend.Timing"
<histogram name="Cobalt.Media.SbPlayer.CreateUrlPlayer.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->

<owner>async@google.com</owner>
<owner>sideboard@google.com</owner>
<owner>[email protected]</owner>
<summary>
Timing data for preparation of `SourceBuffer.appendBuffer` calls.
</summary>
<summary>Timing data for the creation of an SbPlayer::UrlPlayer.</summary>
</histogram>

<histogram name="Cobalt.Media.SourceBuffer.Other.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->
<histogram name="Cobalt.Media.SbPlayer.Destroy.Timing" units="microseconds"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->

<owner>async@google.com</owner>
<owner>sideboard@google.com</owner>
<owner>[email protected]</owner>
<summary>
Catch-all for timing data for `SourceBuffer.appendBuffer` calls. This
histogram is not expected to receive data normally.
</summary>
<summary>Timing data for the destruction of SbPlayer.</summary>
</histogram>

<histogram name="Cobalt.Media.WebMediaPlayer.Seek.Timing"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of Seek latency. -->
<histogram name="Cobalt.Media.SourceBuffer.AppendBuffer.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the seek latency of WebMediaPlayer.
Timing data for the main action of the `SourceBuffer.appendBuffer` call.
</summary>
</histogram>

<histogram name="Cobalt.Media.SbPlayer.Create.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->
<histogram name="Cobalt.Media.SourceBuffer.Other.Timing" units="microseconds"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>sideboard@google.com</owner>
<owner>async@google.com</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the creation of SbPlayer.
Catch-all for timing data for `SourceBuffer.appendBuffer` calls. This
histogram is not expected to receive data normally.
</summary>
</histogram>

<histogram name="Cobalt.Media.SbPlayer.CreateUrlPlayer.Timing"
<histogram name="Cobalt.Media.SourceBuffer.PrepareAppend.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>sideboard@google.com</owner>
<owner>async@google.com</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the creation of an SbPlayer::UrlPlayer.
Timing data for preparation of `SourceBuffer.appendBuffer` calls.
</summary>
</histogram>

<histogram name="Cobalt.Media.SbPlayer.Destroy.Timing"
units="microseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. -->
<histogram name="Cobalt.Media.WebMediaPlayer.Seek.Timing" units="ms"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of Seek latency. -->

<owner>sideboard@google.com</owner>
<owner>async@google.com</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the destruction of SbPlayer.
</summary>
<summary>Timing data for the seek latency of WebMediaPlayer.</summary>
</histogram>

<histogram name="Cobalt.MediaDevices.MicCreationSucceeded" enum="Boolean"
Expand All @@ -264,72 +316,6 @@ Always run the pretty print utility on this file after editing:
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.CrashpadInstallationStatus"
enum="CrashpadInstallationStatus" expires_after="never">
<!-- expires-never: Needed for crash reporting system health metrics. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Status of Crashpad installation by the Loader App.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfLoadDuration" units="milliseconds"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The time it takes for Cobalt's ELF Loader to load the dynamic shared
library, which under normal operation is the Cobalt Core library. This
metric is only recorded when the shared library is stored as a compressed
file, and this metric includes the decompression time.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfDecompressionDuration" units="milliseconds"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The time it takes for the ELF dynamic shared library, stored as a compressed
file, to be decompressed. This metric is only recorded when the shared
library is stored as a compressed file.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.ElfLoadUnexplainedDuration"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Cobalt.LoaderApp.ElfLoadDuration minus
Cobalt.LoaderApp.ElfDecompressionDuration. This metric is only recorded when
the shared library is stored as a compressed file.
</summary>
</histogram>

<histogram name="Cobalt.LoaderApp.MaxSampledUsedCPUMemoryDuringELFLoad"
units="MB" expires_after="never">
<!-- expires-never: Needed for long-term tracking of ELF load performance. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
The maximum sampled value of CPU memory used by the Loader App while the ELF
dynamic shared library is being loaded. Note that this maximum sampled value
is not guaranteed to be the true maximum value, which could be greater. This
metric is only recorded when the shared library is stored as a compressed
file.
</summary>
</histogram>

</histograms>

</histogram-configuration>

0 comments on commit f70b71e

Please sign in to comment.