commit | d26c561e720f5d4b9bfafd076b11ee4093a7b414 | [log] [tgz] |
---|---|---|
author | Martin Fick <martin.fick@linaro.org> | Tue Mar 28 08:48:44 2023 -0600 |
committer | Martin Fick <martin.fick@linaro.org> | Wed Apr 05 17:16:27 2023 -0600 |
tree | 2d5a3c0235f8fa9e30e2534ae0642de884ac8725 | |
parent | 3ac5254232b2cf9421cb0b08eb0207bf26caa1db [diff] |
Add a TopKeyMap to HitHashMap statistics A TopKeyMap is a lightweight limited size (5) map with 'long' keys designed to store only the elements with the top five largest keys. Use the TopKeyMap in the HitHashMap to track the keys of the elements which took the longest to load using the StopWatch. Modify all the HitHashMap users to use the new API and thus benefit from these new statistics. Change-Id: I19ed563bf6d81f0d72b14906edd676712b8973fe