platform_build_soong/ui/metrics
Patrice Arruda 958b89c0b5 Use monotonic clock instead of wall time clock for metrics.
From several dashboards, there are high spikes from several
builds where the real time of executing a part of the build
system took many many hours. This is due to using the wall
time clock when calculating the duration. For metrics, the
monotonic clock should be used for more accurate measurement.
Also, cleaned up the time.go file to use the proper proto
functions when marshalling perf protobuf and deleted
unnecessary functions.

Bug: b/143492984
Test: Wrote and ran unit test case.
Change-Id: I1540cfbf37915e3045ecedaa2595c1f9429bcd62
2020-07-13 21:14:34 +00:00
..
metrics_proto Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
upload_proto Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00
Android.bp Use monotonic clock instead of wall time clock for metrics. 2020-07-13 21:14:34 +00:00
metrics.go Add RBE metrics dump in Soong UI. 2020-07-09 21:06:22 +00:00
time.go Use monotonic clock instead of wall time clock for metrics. 2020-07-13 21:14:34 +00:00
time_test.go Use monotonic clock instead of wall time clock for metrics. 2020-07-13 21:14:34 +00:00