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

Issue 130423007: Cast:Updating logging stats (Closed)

Created:
6 years, 11 months ago by mikhal1
Modified:
6 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, mikhal+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, pwestin+watch_google.com, feature-media-reviews_chromium.org, hubbe+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Cast:Updating Logging stats Modify stats to hold more "native values" such as min, max, count and sum. This will allow the user to get more basic information, while still be able to compute higher level stats, such as frame rate and bit rate. BUG=327949 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249423

Patch Set 1 #

Total comments: 38

Patch Set 2 : Responding to Review #

Total comments: 15

Patch Set 3 : #

Total comments: 8

Patch Set 4 : review + rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -278 lines) Patch
M media/cast/audio_receiver/audio_receiver.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/logging/logging_defines.h View 1 2 3 4 chunks +37 lines, -11 lines 0 comments Download
M media/cast/logging/logging_defines.cc View 1 2 2 chunks +24 lines, -8 lines 0 comments Download
M media/cast/logging/logging_impl.h View 1 2 1 chunk +14 lines, -12 lines 0 comments Download
M media/cast/logging/logging_impl.cc View 1 3 chunks +14 lines, -119 lines 0 comments Download
M media/cast/logging/logging_stats.h View 1 2 chunks +3 lines, -9 lines 0 comments Download
M media/cast/logging/logging_stats.cc View 1 2 7 chunks +51 lines, -61 lines 0 comments Download
M media/cast/logging/logging_unittest.cc View 1 2 8 chunks +82 lines, -55 lines 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
mikhal1
Hello All, Here's the update to the logging stats that we've been discussing. A few ...
6 years, 11 months ago (2014-01-22 19:17:31 UTC) #1
Alpha Left Google
lgtm Derek should review this. Removing myself from the reviewer list.
6 years, 11 months ago (2014-01-22 19:44:22 UTC) #2
Alpha Left Google
Shooot.. I clicked some random area in the page and accidentally hit the quick lgtm ...
6 years, 11 months ago (2014-01-22 19:45:26 UTC) #3
imcheng
https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h File media/cast/logging/logging_defines.h (right): https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h#newcode114 media/cast/logging/logging_defines.h:114: // Some of the metrics will only be set ...
6 years, 11 months ago (2014-01-22 21:03:36 UTC) #4
hguihot1
https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h File media/cast/logging/logging_defines.h (right): https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h#newcode133 media/cast/logging/logging_defines.h:133: size_t size_sum; |size_sum| here, but FrameLogStats uses |sum_delay|. Naming ...
6 years, 11 months ago (2014-01-22 21:13:04 UTC) #5
hguihot1
https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_impl.cc File media/cast/logging/logging_impl.cc (right): https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_impl.cc#newcode57 media/cast/logging/logging_impl.cc:57: UMA_HISTOGRAM_COUNTS("Cast.AudioFrameEncoded", frame_size); AudioFrameEncodedSize? https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_impl.cc#newcode59 media/cast/logging/logging_impl.cc:59: UMA_HISTOGRAM_COUNTS("Cast.VideoFrameEncoded", frame_size); VideoFrameEncodedSize? https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_impl.cc#newcode171 ...
6 years, 11 months ago (2014-01-22 21:41:13 UTC) #6
mikhal1
PTAL https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h File media/cast/logging/logging_defines.h (right): https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_defines.h#newcode114 media/cast/logging/logging_defines.h:114: // Some of the metrics will only be ...
6 years, 11 months ago (2014-01-23 19:53:11 UTC) #7
imcheng
https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_stats.cc File media/cast/logging/logging_stats.cc (right): https://chromiumcodereview.appspot.com/130423007/diff/1/media/cast/logging/logging_stats.cc#newcode65 media/cast/logging/logging_stats.cc:65: void LoggingStats::InsertBaseFrameEvent(const base::TimeTicks& time_of_event, In the case of inserting, ...
6 years, 11 months ago (2014-01-23 21:17:17 UTC) #8
mikhal1
PTAL https://codereview.chromium.org/130423007/diff/260001/media/cast/logging/logging_defines.cc File media/cast/logging/logging_defines.cc (right): https://codereview.chromium.org/130423007/diff/260001/media/cast/logging/logging_defines.cc#newcode91 media/cast/logging/logging_defines.cc:91: FrameEvent::FrameEvent() {} On 2014/01/23 21:17:18, imcheng1 wrote: > ...
6 years, 11 months ago (2014-01-23 23:02:16 UTC) #9
hguihot1
https://chromiumcodereview.appspot.com/130423007/diff/370001/media/cast/logging/logging_defines.h File media/cast/logging/logging_defines.h (right): https://chromiumcodereview.appspot.com/130423007/diff/370001/media/cast/logging/logging_defines.h#newcode17 media/cast/logging/logging_defines.h:17: static const uint32 kFrameIdUnknown = 0xFFFF; By the way, ...
6 years, 11 months ago (2014-01-23 23:42:49 UTC) #10
imcheng
lgtm after addressing Herve's comments.
6 years, 11 months ago (2014-01-24 18:54:21 UTC) #11
mikhal1
Responding to hguihot's comments and adding pwestin as a reviewer. https://chromiumcodereview.appspot.com/130423007/diff/370001/media/cast/logging/logging_defines.h File media/cast/logging/logging_defines.h (right): https://chromiumcodereview.appspot.com/130423007/diff/370001/media/cast/logging/logging_defines.h#newcode17 ...
6 years, 10 months ago (2014-01-29 19:25:48 UTC) #12
pwestin
lgtm
6 years, 10 months ago (2014-02-04 00:10:25 UTC) #13
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 10 months ago (2014-02-04 21:24:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/130423007/590001
6 years, 10 months ago (2014-02-04 22:33:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/130423007/590001
6 years, 10 months ago (2014-02-05 01:13:36 UTC) #16
mikhal1
The CQ bit was unchecked by mikhal@chromium.org
6 years, 10 months ago (2014-02-05 18:04:18 UTC) #17
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 10 months ago (2014-02-05 18:04:30 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-06 09:21:00 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=258716
6 years, 10 months ago (2014-02-06 09:21:00 UTC) #20
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 10 months ago (2014-02-06 15:43:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/130423007/590001
6 years, 10 months ago (2014-02-06 15:43:28 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-02-06 17:36:44 UTC) #23
Message was sent while issue was closed.
Change committed as 249423

Powered by Google App Engine
This is Rietveld 408576698