commit | 97abbe95cd44b6f81168f0317fd7430a030b8800 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sat Jun 11 22:16:55 2011 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Sat Jun 11 22:17:17 2011 -0700 |
tree | a43d4d5c9d8fe40edfeb9be7969567e4c37bdefd | |
parent | 837b4ebf7ed681d87c9d5aa502b98d16963246cb [diff] |
Growable NetworkStats object instead of builder. NetworkStats now grows in place with arraycopy() instead of callers needing to know record count a priori. Better growth calculation for both NetworkStats and NetworkStatsHistory; 50% each time. Better estimates of buckets needed in calling services. Change-Id: I3adbffa0b7407612cc6349d9135a8b4eb63cd440