Skip to content
Snippets Groups Projects
Commit 6bed442c authored by enixon's avatar enixon
Browse files

Changing totallatency in OneMeasurementHistogram back to long type.

parent 36ff72b1
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ public class OneMeasurementHistogram extends OneMeasurement
* The sum of each latency measurement over all operations.
* Calculated in ms.
*/
double totallatency;
long totallatency;
/**
* The sum of each latency measurement squared over all operations.
......@@ -125,7 +125,7 @@ public class OneMeasurementHistogram extends OneMeasurement
histogram[latency/1000]++;
}
operations++;
totallatency += ((double)latency) / 1000;
totallatency += latency/1000;
totalsquaredlatency += ((double)latency) * ((double)latency) / 1000000;
windowoperations++;
windowtotallatency += latency;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment