cloudstack/server
wilderrodrigues 5557ad5588 Offer a getDurationInMillis() method in the Profiler utility class
- New implementation uses nanoseconds. Due to that, the places where the Profiler is used as a Monitor and/or
     a stopwatch will suffer with the difference in the return
   - Also added a getDuration(), which returns the time in nanoseconds in case someone wants to use it instead
   - Added an extra test to check if the getDuration() works fine with nanoseconds
   - Fixed the test that checks the time in milliseconds: I added an error margin to cover the test better

Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-24 09:36:40 +02:00
..
conf Use same sudoers config for all distros Cleanup buggy code for sudoers file editing 2015-06-19 16:00:57 +02:00
resources Merge branch 'volume-upload' into master 2015-04-29 11:12:53 +05:30
scripts License header updates for the server folder. 2012-08-03 09:41:27 -04:00
src Offer a getDurationInMillis() method in the Profiler utility class 2015-06-24 09:36:40 +02:00
test Offer a getDurationInMillis() method in the Profiler utility class 2015-06-24 09:36:40 +02:00
pom.xml Change tests random number generator to /dev/urandom 2015-05-29 20:24:41 +02:00