commit | d4f446c028dd9503945f170f1b75fb86177e5d20 | [log] [tgz] |
---|---|---|
author | Ryan Zuklie <rzuklie@google.com> | Wed Mar 08 17:28:06 2023 -0800 |
committer | Ryan Zuklie <rzuklie@google.com> | Fri Mar 10 13:03:43 2023 -0800 |
tree | 0e8819cda4181bbd39788f25b54e004e47b9d1df | |
parent | a23a74a2321af8be2ce7f17ba1b83bd8005cd4a4 [diff] |
Parse new config options and to batch in callback This converts the poller's callback to batch-style pass all of the events each time it polls rather than one-by-one. This requires a bit more memory (up to 32kb) but will allow optimizations in the following changes that should reduce the trace size and cpu by ~10x. Bug: 246985031 Test: atest libnetworkstats_test Change-Id: Ia3223ba8b27b825e2d63d6b3b8ac09b8eb17b3f8