mirror of https://github.com/apache/cloudstack.git
- 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>
|
||
|---|---|---|
| .. | ||
| conf | ||
| resources | ||
| scripts | ||
| src | ||
| test | ||
| pom.xml | ||