-
Notifications
You must be signed in to change notification settings - Fork 119
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 SbPlayerWriteSamples (#4097)
Adding additional Media Telemetry to cover SbPlayerWriteSamples. The rough range of each function: 1. When batched write is enabled (Media.MaxAudioSamplesPerWrite=256, #3271): 1. SbPlayerWriteSamples()/audio: 1us to 98us 2. SbPlayerWriteSamples()/video: 1us to 3.4ms 2. When batched write is disabled (Media.MaxAudioSamplesPerWrite=1, #3271): 1. SbPlayerWriteSamples()/audio: 9us to 65.47ms 2. SbPlayerWriteSamples()/video: 8us to 28.07ms b/303328238
- Loading branch information
Showing
5 changed files
with
75 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -494,6 +494,24 @@ Always run the pretty print utility on this file after editing: | |
<summary>Timing data for writing end of video stream.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbPlayer.WriteSamples.Audio.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 writing single audio sample.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SbPlayer.WriteSamples.Video.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 writing single video sample.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SDR.Matrix" enum="MatrixID" expires_after="never"> | ||
<!-- expires-never: Needed for baseline Media pipeline health metric. --> | ||
|
||
|