Implement UMA that tracks Chrome’s total data usage |
||
Issue descriptionImplement UMA that tracks Chrome’s total data usage. Having such a UMA can help us track data usage regressions in Chrome. It can also be used in A/B testing of an experiment that may affect Chrome's data usage. On Android, the data usage can be measured either at lower socket layers using Android's TrafficStats APIs. Using TrafficStats API would also include the data from packet retransmissions etc. On all other platforms, it can be measured within Chrome's NetworkActivityMonitor which is notified by all TCP and UDP sockets every time they read or write data.
,
Aug 23 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/21318e32a681bbb2ed20f15d7e34822b723ce616 commit 21318e32a681bbb2ed20f15d7e34822b723ce616 Author: tbansal <tbansal@chromium.org> Date: Tue Aug 23 19:09:59 2016 Refactor the DataUseMeasurement class Some of the methods in DataUseMeasurement class have been renamed in this CL. This is in preparation of adding more methods to this class. This change also has a positive side-effect that it hides the internal details of DataUseMeasurement class from ChromeNetworkDelegate. BUG= 640052 Review-Url: https://codereview.chromium.org/2269833002 Cr-Commit-Position: refs/heads/master@{#413806} [modify] https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616/chrome/browser/net/chrome_network_delegate.cc [modify] https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616/chrome/browser/precache/precache_util.cc [modify] https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616/components/data_use_measurement/content/data_use_measurement.cc [modify] https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616/components/data_use_measurement/content/data_use_measurement.h [modify] https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616/components/data_use_measurement/content/data_use_measurement_unittest.cc
,
Sep 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/086197baf9f5fc856643818c95246f685fad6c3f commit 086197baf9f5fc856643818c95246f685fad6c3f Author: tbansal <tbansal@chromium.org> Date: Thu Sep 22 19:13:08 2016 Record UMA for total data usage consumed by Chromium The data usage count is recorded at the network delegate layer. Also, the data usage count reported by operating system is reported in different UMA metric. BUG= 640052 Review-Url: https://codereview.chromium.org/2338563003 Cr-Commit-Position: refs/heads/master@{#420419} [modify] https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f/chrome/browser/net/chrome_network_delegate.cc [modify] https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f/chrome/browser/net/chrome_network_delegate_unittest.cc [modify] https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f/components/data_use_measurement/content/data_use_measurement.cc [modify] https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f/components/data_use_measurement/content/data_use_measurement.h [modify] https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f/tools/metrics/histograms/histograms.xml
,
Sep 24 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by rajendrant@chromium.org
, Aug 23 2016