summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2023-10-27 14:56:12 -0700
committer Colin Cross <ccross@android.com> 2023-10-30 12:39:07 -0700
commit46b0c75204316ef025cc9f8b0b8d7109beeff4dc (patch)
treef0e5982469220332fcc8959cff1b3e7e25a01b91 /java/java_test.go
parentaa9a273b40f9f61bdd93bad040edda1c633ae7ac (diff)
Add performance counter metrics to build.trace.gz
Start a background goroutine at the beginning of soong_build that captures the CPU usage, heap size, and total system memory every second. Propagate the values through soong_build_metrics.pb back to soong_ui, and then into build.trace.gz. Test: m nothing, examine build.trace.gz Change-Id: Iad99f8f1f088f4f7f7d5f76566a38c0c4f4d0daa
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions