summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2015-09-16 17:11:51 -0700
committerBertrand SIMONNET <bsimonnet@google.com>2015-09-17 09:39:34 -0700
commit2d03783ccc88fef71268658d774318f8cca362e4 (patch)
tree05c1b6ea577e3f0f78df04810402fb50c49eed62 /base/errors_unix.cpp
parent630e05b6af5f76bd7f063840e543186bde40ff0a (diff)
metricsd: Fix CumulativeUseTime metrics.
This fixes three things: * name of the metrics: the metrics does not represent the daily use. * arithmetic error: we collect the use time in seconds so no need to divide by 1000 to get seconds. * the metrics should not be reset daily. This CL also renames the Send* helper methods to be more explicit about resetting the counters. This was also committed in Chrome OS at: https://chromium-review.googlesource.com/#/c/300059/. BUG:24131693 TEST: unit tests. Change-Id: I712baa1fd639b9b0df60906d94a0904d8c6760aa
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions