summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2017-01-10 16:10:35 -0800
committerJin Qian <jinqian@google.com>2017-03-14 13:07:19 -0700
commitbce3e4dd9d49f2a3da44841a6b0b6dcb56ec149d (patch)
tree61aa43bf31e5df1eb286f61aef1ee9de615a953b /tools/perf/scripts/python
parenta2849d45025ca5894e99502752a86ebc744a4361 (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: Ib8bebda53e7a56f45ea3eb0ec9a3153d44188102
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions