org.ow2.clif.analyze.statistics
Class AbstractAnalyst.ProfilingStatistics

java.lang.Object
  extended by org.ow2.clif.analyze.statistics.AbstractAnalyst.ProfilingStatistics
Enclosing class:
AbstractAnalyst

protected class AbstractAnalyst.ProfilingStatistics
extends java.lang.Object

Cette classe stocke les mesures (de type long) de CLIF pour les analysts et offre les calculs statistiques pour ce type de données.


Constructor Summary
protected AbstractAnalyst.ProfilingStatistics()
          default constructor
protected AbstractAnalyst.ProfilingStatistics(java.util.List<Datum> profilingData)
          constructor
 
Method Summary
 void addProfilingData(java.util.List<Datum> data)
           
 java.util.List<SliceSummary> getHistoryOfRawLongResults(LongStatistics longRes, long sliceSize)
          analyze raw profile long results function of elapsed time.
 java.util.List<SliceSummary> getHistoryOfStatLongResults(LongStatistics longRes, long sliceSize)
          analyze profile long results function of elapsed time.
 LongStatistics getLongResults()
          get LongStatistics of durations to perform statistical analysis
 int[] getMaxSliceIndexesOfProfilingData(long sliceSize)
          list of the max index for time slices (times are timestamps).
 long getMaxTimestamp()
           
 long getMinTimestamp()
           
 java.util.List<Datum> getProfilingData()
           
 double getSortFactor()
           
 double getSortRatio()
           
 boolean isEmpty()
           
 void setProfilingData(java.util.List<Datum> data)
           
 void setSortFactor(double statSortFactor)
           
 void setSortRatio(double statSortRatio)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAnalyst.ProfilingStatistics

protected AbstractAnalyst.ProfilingStatistics()
default constructor


AbstractAnalyst.ProfilingStatistics

protected AbstractAnalyst.ProfilingStatistics(java.util.List<Datum> profilingData)
constructor

Method Detail

setProfilingData

public void setProfilingData(java.util.List<Datum> data)

addProfilingData

public void addProfilingData(java.util.List<Datum> data)

getProfilingData

public java.util.List<Datum> getProfilingData()

isEmpty

public boolean isEmpty()

size

public int size()

setSortFactor

public void setSortFactor(double statSortFactor)

getSortFactor

public double getSortFactor()

setSortRatio

public void setSortRatio(double statSortRatio)

getSortRatio

public double getSortRatio()

getMinTimestamp

public long getMinTimestamp()

getMaxTimestamp

public long getMaxTimestamp()

getLongResults

public LongStatistics getLongResults()
get LongStatistics of durations to perform statistical analysis

Returns:
LongStatistics of durations measured during loading test

getMaxSliceIndexesOfProfilingData

public int[] getMaxSliceIndexesOfProfilingData(long sliceSize)
list of the max index for time slices (times are timestamps).

Returns:
all last indexes of each elapsed time slice

getHistoryOfStatLongResults

public java.util.List<SliceSummary> getHistoryOfStatLongResults(LongStatistics longRes,
                                                                long sliceSize)
analyze profile long results function of elapsed time.


getHistoryOfRawLongResults

public java.util.List<SliceSummary> getHistoryOfRawLongResults(LongStatistics longRes,
                                                               long sliceSize)
analyze raw profile long results function of elapsed time.