diff options
author | Ruchir Rastogi <ruchirr@google.com> | 2020-01-06 15:03:21 -0800 |
---|---|---|
committer | Ruchir Rastogi <ruchirr@google.com> | 2020-01-06 23:10:51 +0000 |
commit | d177461a7214c7aec3e6478f649a1012050c47e2 (patch) | |
tree | 7c8a7f477f1ac003e3a2ce58f6048758809ff8dc /debuggerd/handler/debuggerd_handler.cpp | |
parent | d8a8988c6e02cdaa00d97c84df2114cca27b5d6f (diff) |
Fix bug in stats_event_benchmark
Now, the number of elements in each simulated stats_event is correctly
sampled from a uniform distribution.
Rerunning the benchmarking tests indicates that truncating the buffer
increases the number of cycles require to log an event by only 1.6%.
Test: m libstatssocket_benchmark
Test: bit libstatssocket_benchmark:*
Change-Id: I8d5c1734861038beec8eeb7ce1f84a24bde25a75
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions