Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/509#discussion_r33018252 --- Diff: utils/src/com/cloud/utils/Profiler.java --- @@ -23,24 +23,20 @@ private Long startTickInMs; private Long stopTickInMs; - public Profiler() { - startTickInMs = null; - stopTickInMs = null; - } - public long start() { - startTickInMs = System.currentTimeMillis(); + startTickInMs = System.nanoTime(); --- End diff -- I'd use a new name for the var, like startTickInNanos (and of course stopTickInNanos)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---