commit | 7a492919f2e1705dec2b166585a42812eb7c681a | [log] [tgz] |
---|---|---|
author | Brett Chabot <brettchabot@google.com> | Thu Aug 07 13:02:12 2014 -0700 |
committer | Brett Chabot <brettchabot@google.com> | Fri Aug 08 14:01:14 2014 -0700 |
tree | ddc0854f200b5ea79d10bde367bfa15696208ca8 | |
parent | 2f85632a3a744c7c0da4e26cfbca2743a9271773 [diff] |
Use sampling for deviceutilstatsmonitor Current device utilization mechanism seems flawed, with machines often going into state where they report questionable metrics due to 'state end already reported for device' errors. This commit changes the util calculation to a simpler moving average mechanism. Bug: 16016815 Change-Id: Ic86972479b79c319c829b78852103b65c71a5d91