commit | d83171d954df219021ed50615edebb00701cd78e | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Mon Jul 12 13:32:27 2021 +0000 |
committer | Kalesh Singh <kaleshsingh@google.com> | Mon Jul 12 13:41:18 2021 +0000 |
tree | c06a2a43d191a4455c4a789aa98877f4363571f5 | |
parent | 7b02279e0ab3000f1d353992e9059db5d5b3cbfd [diff] |
getGpuDmaBufUsageKb: Report usage in Kilobytes getGpuDmabufUsageKb currently reports the total size of dma-bufs attached by the GPU device from /sys/kernel/dmabuf/buffer/<inode>/size nodes. However these sysfs nodes report the buffer size in bytes. Convert the value returned by getGpuDmaBufUsageKb to KB. Bug: 193403146 Test: Manual Change-Id: Ie17382794f7e4db34ddadf75488d8f82de435ae0