summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2020-04-14 16:59:27 +0100
committerChristopher Ferris <cferris@google.com>2020-04-16 15:03:19 -0700
commita17c2b694ce53a484f534ba7abab7ec12cd4ffcc (patch)
tree9fbc74ee5582c15d71067201c46b7c5b3d554035 /trusty/coverage/coverage_test.cpp
parent8c6d5bf83c9551264932e8d4268870cc26567fed (diff)
Optimize Memory::ReadString
This function is responsible for majority of CPU time in prefetto. Reduce the number of memory reads (don't read strings byte-by-byte). Update all calls of ReadString to include the third parameter to have a max read. Add an Elf creation benchmark since this function is on the elf creation path. Test: libunwindstack_unit_test Change-Id: Ia36e1f1a5ba76c9e9f13c43fb9e3691dde7897f2
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions