diff options
author | ulfjack <ulfjack@google.com> | 2018-07-24 00:31:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-24 00:33:17 -0700 |
commit | 1af71e53903247a061d042d71775d3eb4700848f (patch) | |
tree | 57386b3cf19ae521185805cef39239ee0c826eac /tools | |
parent | dd9f60e4d2721cdfd3044a8c8a1bdfd8e444009c (diff) |
Use an interface to convert from nanos to millis since epoch
The conversion approach we were previously using is not stable - the resulting
offsets can differ based on what other things are going on on the same machine
at the same time.
By using an interface and passing it to the relevant places (and only computing
the offset once), we ensure that all conversions are consistent with each other.
PiperOrigin-RevId: 205787309
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions