commit | 62fb99ea3ef002858e8bbe253e9e612a6ddcea38 | [log] [tgz] |
---|---|---|
author | Ivo Kay <ivokay@google.com> | Mon Jul 15 13:27:48 2024 +0000 |
committer | Ivo Kay <ivokay@google.com> | Thu Jul 25 16:16:44 2024 +0000 |
tree | 785086691091b2be35a7395c216f3a04050fdc59 | |
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