summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2020-12-16 11:21:37 -0800
committerPatrice Arruda <patricearruda@google.com>2020-12-17 14:52:14 -0800
commit04157e186fc0d2a62d014d30db383f2e70d4571b (patch)
treef914ecaad2d6aea906b0ac287de8f2e9d585a7e7 /sdk/java_sdk_test.go
parentbb42c44e716b8e22f13248c10d88aad466f0e8de (diff)
Read the proc status file when PID is given for metrics purpose.
To measure the MaxRSS memory correctly, read the proc status file under /proc/<pid>/status and extract the MaxRSS value from it. The implementation is only available for Linux based distributions. Bug: b/169453825 Test: go test Change-Id: I32e3068fee7447f9ef5dfb5a8d8dcb6934e0af23
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions