platform_build_soong/ui/metrics
Patrice Arruda 73c790f59e Use the build start time from Soong main UI for metrics build timestamp.
Currently, the build timestamp saved to the build_date_timestamp
field in the MetricsBase metrics protobuf usually comes from a text
file named build_date.txt. It may not be accurate for metrics purposes.
Instead, use the build start time from Soong main UI for a better
timestamp.

Bug: b/140638454
Test: Ran and checked the build_date_timestamp by running the printproto
      command.
Change-Id: I4d893fbbf9830ba21911e56ae13bc5272be47ae6
2020-07-14 17:23:23 +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 Use the build start time from Soong main UI for metrics build timestamp. 2020-07-14 17:23:23 +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