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

Unified Diff: src/platform/init/dump-boot-stats.conf

Issue 1642018: Update the libmetrics API to match the new Chrome interface. (Closed)
Patch Set: Address review comments. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/init/chromeos_startup ('k') | src/platform/metrics/metrics_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/init/dump-boot-stats.conf
diff --git a/src/platform/init/dump-boot-stats.conf b/src/platform/init/dump-boot-stats.conf
index 4ab91853e1a3ff062e4580a20bd2e6d6b2630b0b..8f2a75b33262d5bc868ead2059304bdb1a7df443 100644
--- a/src/platform/init/dump-boot-stats.conf
+++ b/src/platform/init/dump-boot-stats.conf
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -20,9 +20,12 @@ script
SECTORS_READ=`echo $DISK_STATS | cut -f 3 -d ' '`
SECTORS_WRITTEN=`echo $DISK_STATS | cut -f 7 -d ' '`
- /usr/bin/metrics_client -t BootTime $BOOT_TIME &
- /usr/bin/metrics_client BootSectorsRead $SECTORS_READ &
- /usr/bin/metrics_client BootSectorsWritten $SECTORS_WRITTEN &
+ /usr/bin/metrics_client -t \
+ Platform.BootTime $BOOT_TIME 1 30000 50 &
+ /usr/bin/metrics_client \
+ Platform.BootSectorsRead $SECTORS_READ 1 1000000 50 &
+ /usr/bin/metrics_client \
+ Platform.BootSectorsWritten $SECTORS_WRITTEN 1 10000 50 &
echo $UPTIME_STATS > /tmp/uptime-login-prompt-ready
echo $DISK_STATS > /tmp/disk-login-prompt-ready
« no previous file with comments | « src/platform/init/chromeos_startup ('k') | src/platform/metrics/metrics_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698