platform_build_soong/ui/metrics/metrics_proto
Colin Cross 46b0c75204 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
2023-10-30 12:39:07 -07:00
..
metrics.pb.go Add performance counter metrics to build.trace.gz 2023-10-30 12:39:07 -07:00
metrics.proto Add performance counter metrics to build.trace.gz 2023-10-30 12:39:07 -07:00
regen.sh Add additional documentation in metrics proto regen.sh script. 2020-10-12 22:58:27 +00:00