-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[telemetry] Add telemetry to SbMedia functions
Adding additional Media Telemetry to cover SbMedia functions. The rough range of each function: 1. SbMediaIsBufferPoolAllocateOnDemand(): 1us to 2us 2. SbMediaGetInitialBufferCapacity(): 1us to 2us 3. SbMediaGetBufferAllocationUnit(): 1us to 2us b/303328238
- Loading branch information
Showing
6 changed files
with
291 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,6 +311,72 @@ Always run the pretty print utility on this file after editing: | |
<summary>Timing data for updating session of SbDrm.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.BufferPoolAllocateOnDemand.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for allocating buffer pool on demand.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.GetAudioBufferBudget.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for getting audio buffer budget.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.GetBufferAllocationUnit.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for getting buffer allocation unit.</summary> | ||
</histogram> | ||
|
||
<histogram | ||
name="Cobalt.Media.SbMedia.GetBufferGarbageCollectionDurationThreshold.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
Timing data for getting buffer garbage collection duration threshold. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.GetInitBufferCapacity.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for getting initial buffer capacity.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.GetProgressiveBufferBudget.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for getting progressive buffer budget.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbMedia.GetVideoBufferBudget.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary>Timing data for getting video buffer budget.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbPlayer.Create.LatencyTiming" | ||
units="microseconds" expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of SbPlayer latencies. --> | ||
|