Define UMA events for interesting power adapter situations.

This adds events to the Platform.CrOSEvent histogram to record
specific situations we're interested in.  The user of the events
will be thermal.sh in the daisy overlay.

BUG=chrome-os-partner:23973
TEST=tested manually and observed samples in about:histograms

Change-Id: I1845ce1f90f5e77ecdc294834671328ce13c827b
Reviewed-on: https://chromium-review.googlesource.com/176367
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Luigi Semenzato 2013-11-11 14:24:44 -08:00 committed by Vincent Palatin
parent 86830baa17
commit e57398a6ee
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ static const char *kCrosEventNames[] = {
"Chaps.DatabaseRepairFailure", // 4
"Chaps.DatabaseCreateFailure", // 5
"Attestation.OriginSpecificExhausted", // 6
"SpringPowerSupply.Original.High", // 7
"SpringPowerSupply.Other.High", // 8
};
time_t MetricsLibrary::cached_enabled_time_ = 0;