aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/util/SamplerHistogramTimeMeasure.java
AgeCommit message (Collapse)AuthorFilesLines
2019-02-24Calculate standard deviation in statsMohammad Salehe1-2/+2
Calculate standard deviation correctly in stats in SamplerHistogramTimeMeasure Change-Id: I1448cf219872987ce348bbd6e70d6ac5ac99bdc2 Issue-ID: MUSIC-148 Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
2018-12-22Implement time measurement utilityMohammad Salehe1-0/+106
Added a TimeMeasure interface as a utility class to be able to measure running time of specific parts of code. Usually, this will be used for benchmarking. Implemented SamplerHistogramTimeMeasurement that uses reservior sampling to calculate percentiles of large amount of data. Also updated maven pom.xml: - update java version from 1.7 to 1.8 to be able to use java 8 - update guava to 27.0 to use Stats Percentiles - update cassandra java plugin version to 3.6 to fix guava dependency problem Change-Id: I168432ff2e6f5507fedc1678684dd96608703e5a Issue-ID: MUSIC-148 Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>