commit | 518bca364cc187b40d8fc379483387f00961058a | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Aug 11 21:42:30 2022 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Aug 11 21:46:48 2022 +0200 |
tree | 5d1d35f9bb124972f709db39020c4609a6b09d62 | |
parent | 3f93f7611628632b4dabccd21a4d22e34dbf3e33 [diff] |
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