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

Issue 134843005: Cast:Updating logging (Closed)

Created:
6 years, 11 months ago by mikhal1
Modified:
6 years, 11 months ago
Reviewers:
hguihot, pwestin
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 - Re-enabling the logging unittest - Differentiating between stats and raw data in config and reset. - Setting a const string for all UMA stats. The above changes are a consequence of the following bugs/feature requests: BUG=327194, 327960, 327958 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246060

Patch Set 1 #

Total comments: 18

Patch Set 2 : Responding to review and removing unused files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -224 lines) Patch
M media/cast/cast.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/logging/logging_defines.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M media/cast/logging/logging_defines.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M media/cast/logging/logging_impl.h View 1 chunk +5 lines, -1 line 0 comments Download
M media/cast/logging/logging_impl.cc View 1 9 chunks +131 lines, -36 lines 0 comments Download
D media/cast/logging/logging_internal.h View 1 1 chunk +0 lines, -95 lines 0 comments Download
D media/cast/logging/logging_internal.cc View 1 1 chunk +0 lines, -79 lines 0 comments Download
M media/cast/logging/logging_raw.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/logging/logging_stats.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/logging/logging_unittest.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
mikhal1
Please review, -Mikhal
6 years, 11 months ago (2014-01-13 19:32:45 UTC) #1
hguihot
https://codereview.chromium.org/134843005/diff/1/media/cast/logging/logging_impl.cc File media/cast/logging/logging_impl.cc (right): https://codereview.chromium.org/134843005/diff/1/media/cast/logging/logging_impl.cc#newcode90 media/cast/logging/logging_impl.cc:90: UMA_HISTOGRAM_TIMES("Cast.VideoRendertDelay", delay); Typo. https://codereview.chromium.org/134843005/diff/1/media/cast/logging/logging_impl.cc#newcode168 media/cast/logging/logging_impl.cc:168: UMA_HISTOGRAM_COUNTS("Cast.Rtt", value); Cast.RttMs? (Cast.JitterMs ...
6 years, 11 months ago (2014-01-13 19:51:10 UTC) #2
mikhal1
PTAL https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/logging_impl.cc File media/cast/logging/logging_impl.cc (right): https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/logging_impl.cc#newcode90 media/cast/logging/logging_impl.cc:90: UMA_HISTOGRAM_TIMES("Cast.VideoRendertDelay", delay); On 2014/01/13 19:51:10, hguihot wrote: > ...
6 years, 11 months ago (2014-01-14 20:09:58 UTC) #3
hguihot
https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/logging_impl.cc File media/cast/logging/logging_impl.cc (right): https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/logging_impl.cc#newcode256 media/cast/logging/logging_impl.cc:256: switch (it->first) { I don't think we can assume ...
6 years, 11 months ago (2014-01-14 20:15:02 UTC) #4
pwestin
lgtm
6 years, 11 months ago (2014-01-17 23:32:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/134843005/160001
6 years, 11 months ago (2014-01-17 23:34:07 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) compositor_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=113519
6 years, 11 months ago (2014-01-18 00:35:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/134843005/160001
6 years, 11 months ago (2014-01-21 16:21:29 UTC) #8
commit-bot: I haz the power
Change committed as 246060
6 years, 11 months ago (2014-01-21 17:11:53 UTC) #9
mikhal1
6 years, 11 months ago (2014-01-22 15:59:57 UTC) #10
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/lo...
File media/cast/logging/logging_impl.cc (right):

https://chromiumcodereview.appspot.com/134843005/diff/1/media/cast/logging/lo...
media/cast/logging/logging_impl.cc:256: switch (it->first) {
This implementation will be obsolete once my changes to the stats are submitted
(which follow our discussions). You will be added as a reviewer once I'll upload
that cl. Feel free to comment there.
On 2014/01/14 20:15:03, hguihot wrote:
> I don't think we can assume that for all receivers though (making reading the
> histograms more difficult, or impossible if the reader does not know the
> sampling frequency). Can we convert those to packets/second (or other unit of
> time) instead of just packets?
> 
> On 2014/01/14 20:09:58, mikhal1 wrote:
> > That is up to the user. I'm assuming the user will call reset and get these
> > numbers every ~1S.
> > On 2014/01/13 19:51:10, hguihot wrote:
> > > Will these histograms make sense considering these numbers can represent
> some
> > > arbitrary duration (i.e. the time between calls to Reset() and
> > > GetPacketsStatsData() can be anything)?
> > 
>

Powered by Google App Engine
This is Rietveld 408576698