summaryrefslogtreecommitdiff
path: root/include/linux/wlan_plat.h
diff options
context:
space:
mode:
authorMike Chan <mike@android.com>2011-10-09 02:21:03 +0100
committerAndy Green <andy.green@linaro.org>2011-10-09 02:21:03 +0100
commitfd1a9a207261682f4985709d70c88fa9dc50ba96 (patch)
tree6ce725f35b0388d4bda4ce914936ac8d7fc59532 /include/linux/wlan_plat.h
parent100bc50968b91e7e368c75093969253f9dd8f10a (diff)
net: activity_stats: Add statistics for network transmission activity
When enabled, tracks the frequency of network transmissions (inbound and outbound) and buckets them accordingly. Buckets are determined by time between network activity. Each bucket represents the number of network transmisions that were N sec or longer apart. Where N is defined as 1 << bucket index. This network pattern tracking is particularly useful for wireless networks (ie: 3G) where batching network activity closely together is more power efficient than far apart. New file: /proc/net/stat/activity output: Min Bucket(sec) Count 1 7 2 0 4 1 8 0 16 0 32 2 64 1 128 0 Change-Id: I4c4cd8627b872a55f326b1715c51bc3bdd6e8d92 Signed-off-by: Mike Chan <mike@android.com>
Diffstat (limited to 'include/linux/wlan_plat.h')
0 files changed, 0 insertions, 0 deletions