platform_system_core/libstats/socket/benchmark
Ruchir Rastogi d177461a72 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
2020-01-06 23:10:51 +00:00
..
main.cpp Improve stats_event memory usage 2019-12-18 17:44:26 -08:00
stats_event_benchmark.cpp Fix bug in stats_event_benchmark 2020-01-06 23:10:51 +00:00