summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-05-07 09:13:12 -0700
committerTom Cherry <tomcherry@google.com>2020-05-11 07:54:34 -0700
commitb6b78e9bb4fb3d9d4b06cefdc8cad01b2f15b741 (patch)
tree4ea2776d524fefad5e809810d895d9fb4425b5f7 /trusty/coverage/coverage_test.cpp
parent6153b71aea12ca8595d15b87e1ee00310109c2ff (diff)
logd: remove LogFindWorst
LogStatistics relies on LogBuffer's lock for thread safety, but that will be cleaned up in future CLs. It won't be possible to return a 'LogFindWorst' object that references internal LogStatistics pointers in a thread safe way, so we remove this and provide a more simple interface. This also removes unnecessary allocations; std::array of 2 or 32 entries is small enough to allocate on the stack. Test: logging unit tests Change-Id: I38bfcba5b08c640ffd3af5c078bc716688f6edf8
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions