summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2021-07-12 13:32:27 +0000
committerKalesh Singh <kaleshsingh@google.com>2021-07-12 09:46:54 -0400
commit823d4651620f07a73376c2ca72f82009d44adbd7 (patch)
treed08be6e695efe2c2d524e24c6d39a50a54eeba92 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent6f27149580012f77b634352c8eec4ecc4673a85d (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 Merged-In: Ie17382794f7e4db34ddadf75488d8f82de435ae0
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions