Do not rely on System.nanoTime for E2E metrics

The E2E metrics are calculated across JVMs where
the System.nanoTime cannot be trusted as source of
time as it is JVM-specific.

Use the System.currentTimeMillis and convert the
result into nanos for keeping the API compatibility
with the existing code.

Change-Id: I89fdcf7b5c8f50890be31476e2252ce796fbcf6a
2 files changed
tree: 5d1d35f9bb124972f709db39020c4609a6b09d62
  1. src/
  2. BUILD
  3. Jenkinsfile
  4. LICENSE