diff options
| author | 2023-10-27 14:56:12 -0700 | |
|---|---|---|
| committer | 2023-10-30 12:39:07 -0700 | |
| commit | 46b0c75204316ef025cc9f8b0b8d7109beeff4dc (patch) | |
| tree | f0e5982469220332fcc8959cff1b3e7e25a01b91 /java/java_test.go | |
| parent | aa9a273b40f9f61bdd93bad040edda1c633ae7ac (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