summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMisha Wagner <mishaw@google.com>2018-10-02 10:50:12 +0100
committerMisha Wagner <mishaw@google.com>2018-10-30 10:48:27 +0000
commit566903ab47c684c0b955fe446ab4dbf5dfaf1a79 (patch)
tree955a66b6c9a84e0186d8858aa7b325aec5a0be49 /tools/aapt2/java/JavaClassGenerator.cpp
parent78ecd34d29d7bb9e7e07be1fbbcfda3ff06ff896 (diff)
Add class to read per-thread CPU usage from proc filesystem
Reads all thread CPU usage for the current process. This traverses "/proc/self/task/*/time_in_state" to gather the thread ID and CPU usage of each child thread. Process name, thread name, and UID are also read from "/proc" for interpretable data. Bug: 111534779 Test: Unit test in CpuThreadProcReaderTest Change-Id: I6c71dde1dfcc9bbb87d95baf0886f9da7a782299
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions