|
|
Created:
6 years, 7 months ago by jar (doing other things) Modified:
6 years, 7 months ago CC:
chromium-reviews, cbentzel+watch_chromium.org Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionTest divisor for zero before generating statistic
r=rch
BUG=377194
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272791
Patch Set 1 #
Total comments: 1
Patch Set 2 : Attempt to rebase... but probably won't add much #
Messages
Total messages: 17 (0 generated)
I just mapped the overflow into the highest bucket size... which is about as good as infinite (since it goes into that last bucket).
lgtm I wonder if we should simply skip the histograms if there is a min_rtt of 0? https://codereview.chromium.org/299423002/diff/1/net/quic/quic_client_session.cc File net/quic/quic_client_session.cc (right): https://codereview.chromium.org/299423002/diff/1/net/quic/quic_client_session... net/quic/quic_client_session.cc:247: uint64 reordering = (stats.min_rtt_us == 0) ? GG_UINT64_C(100) nit: no need for GG_UINT64_C() around the 100 here. I needed it below to ensure that the multiplication was 64 bit, so it didn't overflow.
On 2014/05/24 21:34:20, Ryan Hamilton wrote: > lgtm > > I wonder if we should simply skip the histograms if there is a min_rtt of 0? > It is always better to avoid "discarding" samples, and unwittingly adding bias. We already have the second histogram for "large" rtt values. > https://codereview.chromium.org/299423002/diff/1/net/quic/quic_client_session.cc > File net/quic/quic_client_session.cc (right): > > https://codereview.chromium.org/299423002/diff/1/net/quic/quic_client_session... > net/quic/quic_client_session.cc:247: uint64 reordering = (stats.min_rtt_us == 0) > ? GG_UINT64_C(100) > nit: no need for GG_UINT64_C() around the 100 here. I needed it below to ensure > that the multiplication was 64 bit, so it didn't overflow. I felt really confident it would be ok.... but the ternary operator might be happier with identically sized options on some branches (on some? compilers?)... so I was being cautious to increase the chance that it wouldn't block a landing.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jar@chromium.org/299423002/1
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are real, and report flakes to chrome-troopers@google.com. The failing builders are: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/7...) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/buil...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/7...)
The CQ bit was checked by jar@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jar@chromium.org/299423002/1
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are real, and report flakes to chrome-troopers@google.com. The failing builders are: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/7...)
On 2014/05/25 07:44:37, I haz the power (commit-bot) wrote: > FYI, CQ is re-trying this CL (attempt #1). > Please consider checking whether the failures are real, > and report flakes to mailto:chrome-troopers@google.com. > The failing builders are: > android_aosp on tryserver.chromium > (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/7...) I think this is a bot problem, as the patch applies nicely on other platforms. An attempt to rebase provided no changes. The cl is quite simple... and if it compiles, it should only help. The problem with applying the patch seems unrelated. I'm going to land with notry=true, as this is a top crasher, and it should really by part of our next canary push.
The CQ bit was checked by jar@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jar@chromium.org/299423002/20001
The CQ bit was unchecked by jar@chromium.org
The CQ bit was checked by jar@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jar@chromium.org/299423002/20001
Message was sent while issue was closed.
Change committed as 272791 |