[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/509#issuecomment-114421017 Before we continue in a face-to-face chat, which would be better, just few point to take into account: * The Profiler class is used as a profiler, to

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/509#discussion_r33019962 --- Diff: utils/src/com/cloud/utils/Profiler.java --- @@ -23,24 +23,20 @@ private Long startTickInMs; private Long stopTickInMs;

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/509#discussion_r33018851 --- Diff: utils/src/com/cloud/utils/Profiler.java --- @@ -23,24 +23,20 @@ private Long startTickInMs; private Long stopTickInMs;

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/509#discussion_r33018651 --- Diff: utils/src/com/cloud/utils/Profiler.java --- @@ -23,24 +23,20 @@ private Long startTickInMs; private Long stopTickInMs;

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/509#discussion_r33018426 --- Diff: utils/src/com/cloud/utils/Profiler.java --- @@ -23,24 +23,20 @@ private Long startTickInMs; private Long stopTickInMs;

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread DaanHoogland
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;

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/509 --- 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

[GitHub] cloudstack pull request: Replace System.currentTimeMillis() by Sys...

2015-06-23 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/509 Replace System.currentTimeMillis() by System.nanoTime() - System.nanoTime() is the best way to measure elapsed time in Java. - It gives a resolution on the order of microseconds