com.sun.faban.driver.util.timermeter
Class TimerCharacterisation
java.lang.Object
com.sun.faban.driver.util.timermeter.TimerCharacterisation
- All Implemented Interfaces:
- Serializable
public class TimerCharacterisation
- extends Object
- implements Serializable
- Version:
- 0.9
- Author:
- Michael Kuperberg
Invocation cost statistics and accuracy (resolution) still missing.
TODO implement defined "distilled results only" behaviour
- See Also:
- Serialized Form
Method Summary |
StatisticalDescription |
computeCharacteristics_detailed(long[] measurements,
boolean logValues)
|
StatisticalDescription |
computeClusterWidthCharacteristicsAcrossProcesses(long clusterValue)
|
boolean |
equals(Object obj)
|
long |
getAccuracy()
|
long[][] |
getAllInitialMeasurements()
|
long[] |
getAllMeasurementsAppendedAndSorted()
|
StatisticalDescription |
getAllMeasurementsCharacterisation()
|
SortedMap<Long,Integer> |
getAllMeasurementsHistogram()
|
List<MeasurementGroupsCluster> |
getClusters()
|
double |
getExternallyDeterminedTimerFrequency()
|
double |
getExternallyDeterminedTimerInvocationCost()
|
SortedMap<Integer,SortedMap<Long,Integer>> |
getHistogramElementsByProcess()
|
SortedMap<Long,SortedMap<Integer,Integer>> |
getHistogramElementsByValue()
|
StatisticalDescription |
getInvocationCost()
|
List<StatisticalDescription> |
getProcessCharacterisations()
|
StatisticalDescription |
getProcessed_allMeasurementsCharacterisation()
|
SortedMap<Long,Integer> |
getProcessed_allMeasurementsHistogram()
|
List<MeasurementGroupsCluster> |
getProcessed_clusters()
|
SortedMap<Integer,SortedMap<Long,Integer>> |
getProcessed_histogramElementsByProcess()
|
SortedMap<Long,SortedMap<Integer,Integer>> |
getProcessed_histogramElementsByValue()
|
List<StatisticalDescription> |
getProcessed_processCharacterisations()
|
long[][] |
getRaw_allInitialMeasurements()
|
long[] |
getRaw_allMeasurementsAppendedAndSorted()
|
boolean |
isFrequencyOfTimerSpecifiedExternally()
|
boolean |
isInvocationCostOfTimerSpecifiedExternally()
|
void |
setAccuracy(long accuracy)
|
void |
setAllInitialMeasurements(long[][] timerMeterMeasurements)
|
void |
setAllMeasurementsAppendedAndSorted(long[] allMeasurementsAppendedAndSorted)
|
void |
setAllMeasurementsCharacterisation(StatisticalDescription allMeasurementsCharacterisation)
|
void |
setAllMeasurementsHistogram(SortedMap<Long,Integer> allMeasurementsHistogram)
|
void |
setClusters(List<MeasurementGroupsCluster> clusters)
|
void |
setExternallyDeterminedTimerFrequency(double frequency)
|
void |
setExternallyDeterminedTimerInvocationCost(double cost)
|
void |
setHistogramElementsByProcess(SortedMap<Integer,SortedMap<Long,Integer>> histogramElementsByProcessAcrossAllProcesses)
|
void |
setHistogramElementsByValue(SortedMap<Long,SortedMap<Integer,Integer>> histogramElementsByValueAcrossAllProcesses)
|
void |
setInvocationCost(StatisticalDescription invocationCost)
|
void |
setProcessCharacterisations(List<StatisticalDescription> processCharacterisations)
|
void |
setProcessed_allMeasurementsCharacterisation(StatisticalDescription processed_allMeasurementsCharacterisation)
|
void |
setProcessed_allMeasurementsHistogram(SortedMap<Long,Integer> processed_allMeasurementsHistogram)
|
void |
setProcessed_clusters(List<MeasurementGroupsCluster> processed_clusters)
|
void |
setProcessed_histogramElementsByProcess(SortedMap<Integer,SortedMap<Long,Integer>> processed_histogramElementsByProcess)
|
void |
setProcessed_histogramElementsByValue(SortedMap<Long,SortedMap<Integer,Integer>> processed_histogramElementsByValue)
|
void |
setProcessed_processCharacterisations(List<StatisticalDescription> processed_processCharacterisations)
|
void |
setRaw_allInitialMeasurements(long[][] raw_allInitialMeasurements)
|
void |
setRaw_allMeasurementsAppendedAndSorted(long[] raw_allMeasurementsAppendedAndSorted)
|
String |
toString_extensive()
|
String |
toString()
|
TimerCharacterisation
public TimerCharacterisation()
computeClusterWidthCharacteristicsAcrossProcesses
public StatisticalDescription computeClusterWidthCharacteristicsAcrossProcesses(long clusterValue)
computeCharacteristics_detailed
public StatisticalDescription computeCharacteristics_detailed(long[] measurements,
boolean logValues)
- Parameters:
measurements
- The measurement datalogValues
- The log values
- Returns:
- The statistical description
TODO test me
TODO set all fields!
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAccuracy
public long getAccuracy()
getAllInitialMeasurements
public long[][] getAllInitialMeasurements()
getAllMeasurementsAppendedAndSorted
public long[] getAllMeasurementsAppendedAndSorted()
getAllMeasurementsCharacterisation
public StatisticalDescription getAllMeasurementsCharacterisation()
getAllMeasurementsHistogram
public SortedMap<Long,Integer> getAllMeasurementsHistogram()
getClusters
public List<MeasurementGroupsCluster> getClusters()
getExternallyDeterminedTimerFrequency
public double getExternallyDeterminedTimerFrequency()
getExternallyDeterminedTimerInvocationCost
public double getExternallyDeterminedTimerInvocationCost()
getHistogramElementsByProcess
public SortedMap<Integer,SortedMap<Long,Integer>> getHistogramElementsByProcess()
getHistogramElementsByValue
public SortedMap<Long,SortedMap<Integer,Integer>> getHistogramElementsByValue()
getInvocationCost
public StatisticalDescription getInvocationCost()
getProcessCharacterisations
public List<StatisticalDescription> getProcessCharacterisations()
getProcessed_allMeasurementsCharacterisation
public StatisticalDescription getProcessed_allMeasurementsCharacterisation()
getProcessed_allMeasurementsHistogram
public SortedMap<Long,Integer> getProcessed_allMeasurementsHistogram()
getProcessed_clusters
public List<MeasurementGroupsCluster> getProcessed_clusters()
getProcessed_histogramElementsByProcess
public SortedMap<Integer,SortedMap<Long,Integer>> getProcessed_histogramElementsByProcess()
getProcessed_histogramElementsByValue
public SortedMap<Long,SortedMap<Integer,Integer>> getProcessed_histogramElementsByValue()
getProcessed_processCharacterisations
public List<StatisticalDescription> getProcessed_processCharacterisations()
getRaw_allInitialMeasurements
public long[][] getRaw_allInitialMeasurements()
getRaw_allMeasurementsAppendedAndSorted
public long[] getRaw_allMeasurementsAppendedAndSorted()
isFrequencyOfTimerSpecifiedExternally
public boolean isFrequencyOfTimerSpecifiedExternally()
isInvocationCostOfTimerSpecifiedExternally
public boolean isInvocationCostOfTimerSpecifiedExternally()
setAccuracy
public void setAccuracy(long accuracy)
setAllInitialMeasurements
public void setAllInitialMeasurements(long[][] timerMeterMeasurements)
setAllMeasurementsAppendedAndSorted
public void setAllMeasurementsAppendedAndSorted(long[] allMeasurementsAppendedAndSorted)
setAllMeasurementsCharacterisation
public void setAllMeasurementsCharacterisation(StatisticalDescription allMeasurementsCharacterisation)
setAllMeasurementsHistogram
public void setAllMeasurementsHistogram(SortedMap<Long,Integer> allMeasurementsHistogram)
setClusters
public void setClusters(List<MeasurementGroupsCluster> clusters)
setExternallyDeterminedTimerFrequency
public void setExternallyDeterminedTimerFrequency(double frequency)
setExternallyDeterminedTimerInvocationCost
public void setExternallyDeterminedTimerInvocationCost(double cost)
setHistogramElementsByProcess
public void setHistogramElementsByProcess(SortedMap<Integer,SortedMap<Long,Integer>> histogramElementsByProcessAcrossAllProcesses)
setHistogramElementsByValue
public void setHistogramElementsByValue(SortedMap<Long,SortedMap<Integer,Integer>> histogramElementsByValueAcrossAllProcesses)
setInvocationCost
public void setInvocationCost(StatisticalDescription invocationCost)
setProcessCharacterisations
public void setProcessCharacterisations(List<StatisticalDescription> processCharacterisations)
setProcessed_allMeasurementsCharacterisation
public void setProcessed_allMeasurementsCharacterisation(StatisticalDescription processed_allMeasurementsCharacterisation)
setProcessed_allMeasurementsHistogram
public void setProcessed_allMeasurementsHistogram(SortedMap<Long,Integer> processed_allMeasurementsHistogram)
setProcessed_clusters
public void setProcessed_clusters(List<MeasurementGroupsCluster> processed_clusters)
setProcessed_histogramElementsByProcess
public void setProcessed_histogramElementsByProcess(SortedMap<Integer,SortedMap<Long,Integer>> processed_histogramElementsByProcess)
setProcessed_histogramElementsByValue
public void setProcessed_histogramElementsByValue(SortedMap<Long,SortedMap<Integer,Integer>> processed_histogramElementsByValue)
setProcessed_processCharacterisations
public void setProcessed_processCharacterisations(List<StatisticalDescription> processed_processCharacterisations)
setRaw_allInitialMeasurements
public void setRaw_allInitialMeasurements(long[][] raw_allInitialMeasurements)
setRaw_allMeasurementsAppendedAndSorted
public void setRaw_allMeasurementsAppendedAndSorted(long[] raw_allMeasurementsAppendedAndSorted)
toString
public String toString()
- Overrides:
toString
in class Object
toString_extensive
public String toString_extensive()