commit | d4ef8c8fc9ea70448e5d8138bf8bc96f4e69903f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Nov 10 17:54:23 2011 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Nov 10 17:54:23 2011 -0800 |
tree | bf8a150acbe1b04c2a89747cb65382ac2589ce09 | |
parent | 42694dc4a7af4f38e39cb26a852f3f75e730bb05 [diff] |
Clamp non-monotonic stats instead of dropping. When encountering non-monotonic stats rows, recover remaining data by clamping to 0. In particular, this avoids edge-case where persisting threshold checks would never trigger. Also recover when tethering snapshots are missing. Bug: 5600785, 5433871, 5600678 Change-Id: I1871954ce3955cc4ac8846f9841bae0066176ffe