public class MemoryDistributionStatistic extends DistributionStatisticBase
DistributionStatisticBase which stores all values
in RAM. When used with Export / Import, the data is written to the xml file
as array.
Memory requirements: This class stores samples as Objects of class
Sample in an ArrayList. Each sample contains a value and a
weight (both of type double). Including the object header (12 to 16 bytes), a
sample consumes 28 to 32 bytes of heap space. In addition, the ArrayList
requires 4 to 8 bytes per entry for the reference. In total, each sample
consumes 32 bytes (32bit) to 40 bytes (64bit). Additional memory is required
in a collect run or at the end of the simulation, because the batch lists are
copied together and the Collections.sort() method internally
creates another copy.
sampleIndex, simNode, traceWriter| Constructor and Description |
|---|
MemoryDistributionStatistic(SimNode ownNode,
int numberOfQuantiles) |
MemoryDistributionStatistic(SimNode ownNode,
int numberOfQuantiles,
boolean writeDropDistributions) |
MemoryDistributionStatistic(SimNode ownNode,
QuantileDescription quantiles,
boolean writeDropDistributions) |
| Modifier and Type | Method and Description |
|---|---|
protected DataStorage |
createNewDataStorage(int batchNumber) |
computeMeasures, exportBatch, getArraySize, getBatchDistribution, getBatchOverflowProb, getBatchProbability, getBatchUnderflowProb, getDistribution, getDistributionConfInterval, getLowerBound, getOverflowConfInterval, getOverflowProbability, getProbability, getProbabilityConfInterval, getUnderflowConfInterval, getUnderflowProbability, getUpperBound, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, importBatch, printResults, resetBatchStatistic, resetStatistic, updateupdate, update, updateaddResultTag, addResultTag, disableTracing, enableTracing, handleInitSimulation, printComments, update, writeTraceEntrypublic MemoryDistributionStatistic(SimNode ownNode, int numberOfQuantiles, boolean writeDropDistributions)
public MemoryDistributionStatistic(SimNode ownNode, int numberOfQuantiles)
public MemoryDistributionStatistic(SimNode ownNode, QuantileDescription quantiles, boolean writeDropDistributions)
protected DataStorage createNewDataStorage(int batchNumber)
createNewDataStorage in class DistributionStatisticBase