commit | 963ac33cd7078512fc06229b0ad870c739bd8219 | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Mon Jan 06 15:03:21 2020 -0800 |
committer | Ruchir Rastogi <ruchirr@google.com> | Mon Jan 06 23:10:51 2020 +0000 |
tree | 7c8a7f477f1ac003e3a2ce58f6048758809ff8dc | |
parent | ec8ffc2d69f6d50aaa3c3b7d56a89cd9684fb9e9 [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