rename 'percentile' plots to 'cumulative distribution'
This commit is contained in:
@@ -11,7 +11,7 @@ import java.nio.file.Path;
|
||||
|
||||
import org.lucares.collections.LongList;
|
||||
|
||||
public class PercentileCustomAggregator implements CustomAggregator {
|
||||
public class CumulativeDistributionCustomAggregator implements CustomAggregator {
|
||||
|
||||
private final static int POINTS = 500;
|
||||
|
||||
@@ -19,7 +19,7 @@ public class PercentileCustomAggregator implements CustomAggregator {
|
||||
|
||||
private final Path tmpDir;
|
||||
|
||||
public PercentileCustomAggregator(final Path tmpDir) {
|
||||
public CumulativeDistributionCustomAggregator(final Path tmpDir) {
|
||||
this.tmpDir = tmpDir;
|
||||
}
|
||||
|
||||
@@ -5,22 +5,22 @@ import java.util.Collection;
|
||||
|
||||
import org.lucares.recommind.logs.DataSeries;
|
||||
|
||||
public class PercentileAggregate implements AggregateHandler {
|
||||
public class CumulativeDistributionHandler implements AggregateHandler {
|
||||
|
||||
@Override
|
||||
public CustomAggregator createCustomAggregator(final Path tmpDir, final long fromEpochMilli,
|
||||
final long toEpochMilli) {
|
||||
return new PercentileCustomAggregator(tmpDir);
|
||||
return new CumulativeDistributionCustomAggregator(tmpDir);
|
||||
}
|
||||
|
||||
public PercentileAggregate() {
|
||||
public CumulativeDistributionHandler() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addGnuplotDefinitions(final StringBuilder result, final String separator,
|
||||
final Collection<DataSeries> dataSeries) {
|
||||
|
||||
appendln(result, "set x2label \"Percentile\"");
|
||||
appendln(result, "set x2label \"Cumulative Distribution\"");
|
||||
appendln(result, "set format x2 \"%.0f%%\"");
|
||||
appendln(result, "set x2tics 5");
|
||||
appendln(result, "set x2range [\"0\":\"100\"]");
|
||||
Reference in New Issue
Block a user