summaryrefslogtreecommitdiff
path: root/java/sdk_test.go
diff options
context:
space:
mode:
author Patrice Arruda <patricearruda@google.com> 2020-07-13 18:21:14 +0000
committer Patrice Arruda <patricearruda@google.com> 2020-07-13 21:14:34 +0000
commit958b89c0b5895749392b7e74e88f64119c1510e8 (patch)
treec27ec9d0dcb7ca602cd8608ba90217a2bd4186ba /java/sdk_test.go
parent20efa41af8ec6073d1ee3ecb4b92361f87c526d5 (diff)
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
Diffstat (limited to 'java/sdk_test.go')
0 files changed, 0 insertions, 0 deletions