diff options
| author | 2024-07-15 13:27:48 +0000 | |
|---|---|---|
| committer | 2024-07-25 16:16:44 +0000 | |
| commit | 62fb99ea3ef002858e8bbe253e9e612a6ddcea38 (patch) | |
| tree | 785086691091b2be35a7395c216f3a04050fdc59 /api/api.go | |
| parent | f33a94ed2fb900a1fd27687c7b44547510dadf37 (diff) | |
Rate-limit NetworkStats polls when pulling atoms.
Polling NetworkStats is a heavy operation, and it updates stats
for all networks, so adding a rate-limit avoid unnecessary load.
Perfd workaround is no longer necessary, as perfd does not rely
on network stats atoms anymore.
Test: manual, perfetto, adb shell dumpsys netstats
Bug: 352495181
Flag: com.android.server.stats.apply_network_stats_poll_rate_limit
Change-Id: I113f6067db83570a854de7c2624abfb2e71a8f53
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions