-
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 SbPlayerWriteSamples
Adding additional Media Telemetry to cover SbPlayerWriteSamples. The rough range of each function: 1. When batched write is enabled (Media.MaxAudioSamplesPerWrite=256): 1. SbPlayerWriteSamples()/audio: 1us to 98us 2. SbPlayerWriteSamples()/video: 1us to 3.4ms 2. When batched write is disabled (Media.MaxAudioSamplesPerWrite=1): 1. SbPlayerWriteSamples()/audio: 9us to 65.47ms 2. SbPlayerWriteSamples()/video: 8us to 28.07ms b/303328238
- Loading branch information
Showing
5 changed files
with
76 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 |
---|---|---|
|
@@ -338,6 +338,24 @@ Always run the pretty print utility on this file after editing: | |
<summary>Timing data for the destruction of SbPlayer.</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 audio samples.</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 video samples.</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.Media.SDR.Matrix" enum="MatrixID" expires_after="never"> | ||
<!-- expires-never: Needed for baseline Media pipeline health metric. --> | ||
|
||
|