summaryrefslogtreecommitdiffstats
path: root/content/renderer/p2p
diff options
context:
space:
mode:
authorguoweis <guoweis@chromium.org>2014-12-19 12:34:10 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-19 20:35:46 +0000
commit24c1e1269a4e95ee0319f0044cb5a9730bb8729f (patch)
treeb2bfb657a5746d1ea571fa07ef5acef52db88f9a /content/renderer/p2p
parent5508378a5388b5e463e843505b646e095397f532 (diff)
downloadchromium_src-24c1e1269a4e95ee0319f0044cb5a9730bb8729f.zip
chromium_src-24c1e1269a4e95ee0319f0044cb5a9730bb8729f.tar.gz
chromium_src-24c1e1269a4e95ee0319f0044cb5a9730bb8729f.tar.bz2
Change the UMA histogram bucket to help track large video encoded output
BUG=427555 Review URL: https://codereview.chromium.org/810833003 Cr-Commit-Position: refs/heads/master@{#309246}
Diffstat (limited to 'content/renderer/p2p')
-rw-r--r--content/renderer/p2p/ipc_socket_factory.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc
index fffde46..66c6f7e0 100644
--- a/content/renderer/p2p/ipc_socket_factory.cc
+++ b/content/renderer/p2p/ipc_socket_factory.cc
@@ -232,8 +232,9 @@ IpcPacketSocket::~IpcPacketSocket() {
Close();
}
- UMA_HISTOGRAM_COUNTS_10000("WebRTC.ApplicationMaxConsecutiveBytesDiscard",
- max_discard_bytes_sequence_);
+ UMA_HISTOGRAM_CUSTOM_COUNTS("WebRTC.ApplicationMaxConsecutiveBytesDiscard",
+ max_discard_bytes_sequence_,
+ 1, 1000000, 200);
if (total_packets_ > 0) {
UMA_HISTOGRAM_PERCENTAGE("WebRTC.ApplicationPercentPacketsDiscarded",