commit | 0ed268b1ec41003c7ed7fbe3c8cba726e7a1dbde | [log] [tgz] |
---|---|---|
author | Chenjie Yu <cjyu@google.com> | Wed Jan 10 09:37:10 2018 -0800 |
committer | Chenjie Yu <cjyu@google.com> | Fri Jan 19 10:11:58 2018 -0800 |
tree | 51d33c9b60b6512579b0c8f90dab4d837ed88dfb | |
parent | 5e1f854620ecf48febb6ef8ddc3bff856efda7b1 [diff] |
similar to the samplers in batterystats, when we do diff, if the value is not monotically increasing, we should take the absolute value as the diff. Test: unit tested Change-Id: Idd8a248b4092b1863eb8e50539f8f14b3ac9af9e