summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-09-27 23:28:59 +0900
committerHugo Benichi <hugobenichi@google.com>2017-10-21 22:25:09 +0900
commitab20975c7485a0451d77e19d48ab8fe09e483927 (patch)
tree19a7ca4c6335462e0e733b3438826ca715704cd4 /tools/aapt2/java/JavaClassGenerator.cpp
parentd0983285857f9107b9306a57f3b500672d76c7d9 (diff)
NetdEventListener: add rolling log of connect and dns stats
This patch adds a rolling time order logs of basic statistics of connect and dns, grouped by network id and including: - average error rate - average latency - max latency - total number of operations The log is segmented in buckets of 5 minutes, and covers the last 4 hours. Note that only blocking connect() calls latencies are recorded with the current netd logging infrastructure. Example of logs: 05:30:00.000: {netId=100, WIFI, dns avg=92ms max=525ms err=00.0% tot=37, connect avg=0ms max=23ms err=00.0% tot=25} 05:35:00.000: {netId=100, WIFI, dns avg=94ms max=537ms err=05.3% tot=57, connect avg=0ms max=0ms err=00.0% tot=69} 05:40:00.000: {netId=100, WIFI, dns avg=220ms max=350ms err=00.0% tot=4, connect avg=0ms max=0ms err=00.0% tot=2} 05:45:00.000: {netId=100, WIFI, dns avg=112ms max=113ms err=00.0% tot=1, connect avg=0ms max=0ms err=00.0% tot=1} 05:50:00.000: {netId=100, WIFI, dns avg=131ms max=269ms err=00.0% tot=2, connect avg=0ms max=0ms err=00.0% tot=1} Bug: 65700460 Test: runtest frameworks-net Change-Id: I54e76d18fbaaa92639fb675f93ea90b7615fd6bf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions