diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-06-12 12:28:24 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-06-15 07:28:28 -0700 |
commit | 8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0 (patch) | |
tree | 215ffac507e7a0736a1095c00359601fd155ea26 /include | |
parent | 94a9875f7565617a000814039a4134420397a6aa (diff) | |
download | frameworks_native-8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0.zip frameworks_native-8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0.tar.gz frameworks_native-8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0.tar.bz2 |
dumpstate: modify logcat timeout to compensate for storage speed
(cherry pick from commit f989162bb89dff6387f2021101306a1be6d875f7)
Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.
Bug: 21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions