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

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

Issue 2079014: Log time in suspend. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Simplify the option parsing code for now. Created 10 years, 7 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/acpi/action_lid.sh ('k') | src/platform/power_manager/send_metrics_on_resume » ('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 31dc25291fe3fa9fdedca6a4b5cd8c56733c358a..27e2a828224cd15966472874e3feb125a6ffab33 100644
--- a/src/platform/init/dump-boot-stats.conf
+++ b/src/platform/init/dump-boot-stats.conf
@@ -47,6 +47,10 @@ script
Platform.BootSectorsRead $SECTORS_READ 1 1000000 50 &
/usr/bin/metrics_client \
Platform.BootSectorsWritten $SECTORS_WRITTEN 1 10000 50 &
+
+ # Checks if the device shut down while in suspend and sends metrics
+ # as if coming out of suspend.
+ /usr/bin/send_metrics_on_resume -b &
echo $UPTIME_STATS > /tmp/uptime-login-prompt-ready
echo $DISK_STATS > /tmp/disk-login-prompt-ready
« no previous file with comments | « src/platform/acpi/action_lid.sh ('k') | src/platform/power_manager/send_metrics_on_resume » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698