commit | 1afde13b36cc1d67528104c2b1395495f669cd3f | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Tue Aug 06 17:09:30 2013 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Fri Aug 09 12:45:36 2013 -0700 |
tree | 5bcf953cb76033d812f06c096908344e8b6e9cd9 | |
parent | c9f9444a0d58f395fee5ddd9f55ff32f92cb7b57 [diff] |
Polish the lock contention logging. - Make the code compilable. - Surround the code with kLogLockContentions instead of #ifdef CONTENTION_LOGGING. - Dump contended locks before never-contended locks for better log readability. - Change the wait time unit from ms to us for better precision. Bug: 9986464 Change-Id: I121c6ccf4424d3e0339b0dcd25e18976b41fe4f3