Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 2746903004: Add traces for some video events. (Closed)

Created:
3 years, 9 months ago by ehmaldonado_webrtc
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add traces for some video events. This CL adds traces to compute the following metrics that getStats() captures for video: - googFrameRateSent - googFrameRateInput - googFirsReceived - googNacksReceived - googFrameWidthSent - googFrameHeightSent - googAvgEncodeMs - googEncodeUsagePercent BUG=chromium:653087 Review-Url: https://codereview.webrtc.org/2746903004 Cr-Commit-Position: refs/heads/master@{#17260} Committed: https://chromium.googlesource.com/external/webrtc/+/f7f7fb9cf8706aee5cb2e5ebf5335622f6193eba

Patch Set 1 #

Patch Set 2 : Enable traces by default. #

Patch Set 3 : Use the webrtc_stats category instead. #

Total comments: 2

Patch Set 4 : Rename traces to WebRTC.Video.* #

Total comments: 3

Patch Set 5 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 9 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
ehmaldonado_webrtc
An initial attempt to add traces to WebRTC. Please take a look :) I think ...
3 years, 9 months ago (2017-03-13 17:37:56 UTC) #3
ehmaldonado_webrtc
An initial attempt to add traces to WebRTC. Please take a look :) I think ...
3 years, 9 months ago (2017-03-13 17:37:59 UTC) #4
tommi
On 2017/03/13 17:37:59, ehmaldonado_webrtc wrote: > An initial attempt to add traces to WebRTC. > ...
3 years, 9 months ago (2017-03-13 17:46:10 UTC) #5
ehmaldonado_webrtc
On 2017/03/13 17:46:10, tommi (webrtc) wrote: > On 2017/03/13 17:37:59, ehmaldonado_webrtc wrote: > > An ...
3 years, 9 months ago (2017-03-14 09:23:34 UTC) #6
ehmaldonado_webrtc
Here is the trace: https://drive.google.com/file/d/0B99J5olOIugpZmZmZ3A3TXBkcUU/view?usp=sharing It doesn't look like it affects performance too much, but ...
3 years, 9 months ago (2017-03-14 10:49:35 UTC) #7
ehmaldonado_webrtc
Here is the trace with the traces enabled by default: https://drive.google.com/file/d/0B99J5olOIugpcVdDZFFoYzdkVVU/view?usp=sharing
3 years, 9 months ago (2017-03-14 15:24:22 UTC) #8
ehmaldonado_webrtc
+Ned in case you have any comments or concerns.
3 years, 9 months ago (2017-03-15 11:00:21 UTC) #10
nednguyen
On 2017/03/15 11:00:21, ehmaldonado_webrtc wrote: > +Ned in case you have any comments or concerns. ...
3 years, 9 months ago (2017-03-15 13:32:19 UTC) #11
tommi
lgtm % one suggestion for naming. https://codereview.webrtc.org/2746903004/diff/40001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2746903004/diff/40001/webrtc/video/send_statistics_proxy.cc#newcode430 webrtc/video/send_statistics_proxy.cc:430: TRACE_EVENT_INSTANT2("webrtc_stats", "WebRTC::Video::FrameRateSent", nit: ...
3 years, 9 months ago (2017-03-15 13:49:08 UTC) #12
ehmaldonado_webrtc
Åsa: Do you have any comments? https://codereview.webrtc.org/2746903004/diff/40001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2746903004/diff/40001/webrtc/video/send_statistics_proxy.cc#newcode430 webrtc/video/send_statistics_proxy.cc:430: TRACE_EVENT_INSTANT2("webrtc_stats", "WebRTC::Video::FrameRateSent", On ...
3 years, 9 months ago (2017-03-15 15:29:34 UTC) #14
åsapersson
https://codereview.webrtc.org/2746903004/diff/80001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2746903004/diff/80001/webrtc/video/send_statistics_proxy.cc#newcode657 webrtc/video/send_statistics_proxy.cc:657: "frame_height", uma_container_->max_sent_height_per_timestamp_, "frame_height" -> "frame_width" https://codereview.webrtc.org/2746903004/diff/80001/webrtc/video/send_statistics_proxy.cc#newcode657 webrtc/video/send_statistics_proxy.cc:657: "frame_height", uma_container_->max_sent_height_per_timestamp_, ...
3 years, 9 months ago (2017-03-15 15:55:25 UTC) #15
ehmaldonado_webrtc
Done, thank you :)
3 years, 9 months ago (2017-03-15 16:24:33 UTC) #16
åsapersson
lgtm
3 years, 9 months ago (2017-03-15 16:49:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2746903004/100001
3 years, 9 months ago (2017-03-15 17:21:05 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 17:45:54 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/f7f7fb9cf8706aee5cb2e5ebf...

Powered by Google App Engine
This is Rietveld 408576698