diff options
author | Perfetto Team <perfetto-dev@google.com> | 2023-06-30 21:33:07 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-30 14:40:50 -0700 |
commit | f83c5422dd26da077b2532b1823b89db9bcf39d5 (patch) | |
tree | e64fe7b5b55bbda2560ab779086bde02fa3feeee | |
parent | bc214a48927659ff500b3816ace6d4f29ac767d1 (diff) | |
download | perfetto-f83c5422dd26da077b2532b1823b89db9bcf39d5.tar.gz |
Project import generated by Copybara.
GitOrigin-RevId: 1b4298191e628589bd28b720d817e3ee92a8f919
Change-Id: If17ead89bbcbf6c6365d577c9fdc65cf1670bafd
-rw-r--r-- | protos/third_party/chromium/chrome_track_event.proto | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/protos/third_party/chromium/chrome_track_event.proto b/protos/third_party/chromium/chrome_track_event.proto index 347b36e2c..2547a8e55 100644 --- a/protos/third_party/chromium/chrome_track_event.proto +++ b/protos/third_party/chromium/chrome_track_event.proto @@ -46,10 +46,16 @@ message BlinkTaskScope { } message ChromeTaskAnnotator { + enum DelayPolicy { + FLEXIBLE_NO_SOONER = 0; + FLEXIBLE_PREFER_EARLY = 1; + PRECISE = 2; + } optional uint32 ipc_hash = 1; // The delay in microseconds that was specified, if any, when this task was // posted. This is only valid for delayed tasks. optional uint64 task_delay_us = 2; + optional DelayPolicy delay_policy = 3; } message ChromeBrowserContext { @@ -1208,6 +1214,35 @@ message ScrollDeltas { repeated float segregated_predicted_deltas_in_gpu_frame_y = 14; } +// Debug information for system layer of audio rendering on Windows. +message WinRenderAudioFromSource { + // Buffer size used by the platform. + optional uint32 iaudioclient_buffer_size_frames = 1; + // Number of available frames in the platform buffer. + optional uint32 iaudioclient_buffer_unfilled_frames = 2; + // Number of frames requested from the audio stream client. + optional uint32 packet_size_frames = 3; + // Total number of frames requested from the client and written to the + // platform buffer during the stream lifetime. + optional uint64 num_written_frames = 4; + // Total number of frames played by the platform during the stream lifetime. + optional uint64 num_played_out_frames = 5; + // Device frequency reported by the platform; used to convert the stream + // position to frames. + optional uint64 iaudioclock_device_frequency = 6; + // Stream position reported by the platform. + optional uint64 iaudioclock_stream_position = 7; + // Performance counter position reported by the platform. + optional uint64 iaudioclock_qpc_position = 8; + // Stream position increase since the last call, converted to milliseconds. + optional int64 iaudioclock_stream_position_increase_ms = 9; + // Performance counter position since the last call, converted to + // milliseconds. + optional int64 iaudioclock_qpc_position_increase_ms = 10; + // Estimated playout delay, milliseconds. + optional int64 playout_delay_ms = 11; +}; + message ChromeTrackEvent { // Extension range for Chrome: 1000-1999 // Next ID: 1048 @@ -1312,5 +1347,7 @@ message ChromeTrackEvent { optional TabSwitchMeasurement tab_switch_measurement = 1046; optional ScrollDeltas scroll_deltas = 1047; + + optional WinRenderAudioFromSource win_render_audio_from_source = 1048; } } |