summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsque@chromium.org <sque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 13:05:00 +0000
committersque@chromium.org <sque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 13:05:00 +0000
commitbebe74517653a99c1dc5a7f609e4cdcc5b50371b (patch)
tree663ed0a213ac2a862d2a958df17fe7f3b87fb24f
parentd876837cc04a6370982c26d16ff83165282db9df (diff)
downloadchromium_src-bebe74517653a99c1dc5a7f609e4cdcc5b50371b.zip
chromium_src-bebe74517653a99c1dc5a7f609e4cdcc5b50371b.tar.gz
chromium_src-bebe74517653a99c1dc5a7f609e4cdcc5b50371b.tar.bz2
metrics: Set ChromeOS profiling interval to 6.5 hrs
This change in Chrome OS reduces the amount of data sent with each perf report. We can profile more frequently without increasing the overall upload data size. https://gerrit.chromium.org/gerrit/#/c/49967/ BUG=237399 TEST=trybots pass Change-Id: I168c24c7e8aeb4a1cba9759d26f1c216d836063c Signed-off-by: Simon Que <sque@chromium.org> Review URL: https://chromiumcodereview.appspot.com/14946002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198444 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/metrics/perf_provider_chromeos.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/metrics/perf_provider_chromeos.cc b/chrome/browser/metrics/perf_provider_chromeos.cc
index 8351c99..9736335 100644
--- a/chrome/browser/metrics/perf_provider_chromeos.cc
+++ b/chrome/browser/metrics/perf_provider_chromeos.cc
@@ -26,9 +26,12 @@
namespace {
// Default time in seconds between invocations of perf.
-// This is chosen to be relatively prime with the number of seconds in a day
-// (86400). This period is roughly 13 hours.
-const unsigned kPerfCommandIntervalDefaultSeconds = 47221;
+// This period is roughly 6.5 hours.
+// This is chosen to be relatively prime with the number of seconds in:
+// - one minute (60)
+// - one hour (3600)
+// - one day (86400)
+const unsigned kPerfCommandIntervalDefaultSeconds = 23093;
// Default time in seconds perf is run for.
const unsigned kPerfCommandDurationDefaultSeconds = 2;