aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2017-01-10 16:10:35 -0800
committerMister Oyster <oysterized@gmail.com>2017-05-23 12:17:53 +0200
commitb19f9c4661c76bb0f7abbb388bc3f645c992f5a5 (patch)
tree60d9e6f0c9fdd461d7da28a26e1deb90246ed59c /arch
parentae7c6711d39c400a393686b074cf02ad1251db86 (diff)
ANDROID: uid_cputime: add per-uid IO usage accounting
IO usages are accounted in foreground and background buckets. For each uid, io usage is calculated in two steps. delta = current total of all uid tasks - previus total current bucket += delta Bucket is determined by current uid stat. Userspace writes to /proc/uid_procstat/set <uid> <stat> when uid stat is updated. /proc/uid_io/stats shows IO usage in this format. <uid> <foreground IO> <background IO> Signed-off-by: Jin Qian <jinqian@google.com> Bug: 34198239 Change-Id: I3369e59e063b1e5ee0dfe3804c711d93cb937c0c
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions