edu.uoregon.tau.perfexplorer.glue
Class CorrelationResult
Object
AbstractResult
DefaultResult
CorrelationResult
- All Implemented Interfaces:
- PerformanceResult, SelfAsserting, Serializable
public class CorrelationResult
- extends DefaultResult
- implements SelfAsserting
- Author:
- khuck
- See Also:
- Serialized Form
| Methods inherited from class AbstractResult |
getCalls, getDataPoint, getDataSource, getEventMap, getEvents, getExclusive, getFPMetric, getInclusive, getL1AccessMetric, getL1MissMetric, getL2AccessMetric, getL2MissMetric, getL3AccessMetric, getL3MissMetric, getMainEvent, getMainInclusive, getMetrics, getName, getOriginalThreads, getSortedByValue, getSubroutines, getThreads, getTimeMetric, getTLBMissMetric, getTotalInstructionMetric, getTrial, getTrialID, getTypes, getUsereventMax, getUsereventMean, getUsereventMin, getUsereventNumevents, getUserEvents, getUserEvents, getUsereventSumsqr, putCalls, putDataPoint, putExclusive, putInclusive, putSubroutines, putUsereventMax, putUsereventMean, putUsereventMin, putUsereventNumevents, putUsereventSumsqr, setEventMap, setIgnoreWarnings, setMainInclusive, setName, setOriginalThreads, setTrial, setTrialID, toString, updateEventMap |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CORRELATION
public static final int CORRELATION
- See Also:
- Constant Field Values
INTERCEPT
public static final int INTERCEPT
- See Also:
- Constant Field Values
METADATA
public static final int METADATA
- See Also:
- Constant Field Values
NAME
public static final String NAME
SLOPE
public static final int SLOPE
- See Also:
- Constant Field Values
CorrelationResult
public CorrelationResult()
CorrelationResult
public CorrelationResult(PerformanceResult input,
boolean notFullCopy)
CorrelationResult
public CorrelationResult(String baselineMetric,
String comparisonMetric,
String baselineEvent,
String comparisonEvent,
int baselineType,
int comparisonType,
Double correlation)
assertFact
public void assertFact(String event,
String metric,
int type,
String event2,
String metric2,
int type2,
double correlation,
double slope,
double intercept)
assertFacts
public void assertFacts()
- Description copied from interface:
SelfAsserting
- Method for asserting facts in a working memory maintained by the rule harness.
- Specified by:
assertFacts in interface SelfAsserting
assertFacts
public void assertFacts(RuleHarness ruleHarness)
- Description copied from interface:
SelfAsserting
- Method for asserting facts in a working memory maintained by the rule harness.
- Specified by:
assertFacts in interface SelfAsserting
getBaselineEvent
public String getBaselineEvent()
getBaselineMetric
public String getBaselineMetric()
getBaselineType
public int getBaselineType()
getComparisonEvent
public String getComparisonEvent()
getComparisonMetric
public String getComparisonMetric()
getComparisonType
public int getComparisonType()
getCorrelation
public Double getCorrelation()
getIntercept
public Double getIntercept()
getSlope
public Double getSlope()
getTypes
public static List<Integer> getTypes()
removeFact
public void removeFact(String factName)
- Description copied from interface:
SelfAsserting
- Method for removing facts once they have been processed
- Specified by:
removeFact in interface SelfAsserting
setBaselineEvent
public void setBaselineEvent(String baselineEvent)
setBaselineMetric
public void setBaselineMetric(String baselineMetric)
setBaselineType
public void setBaselineType(int type)
setComparisonEvent
public void setComparisonEvent(String comparisonEvent)
setComparisonMetric
public void setComparisonMetric(String comparisonMetric)
setComparisonType
public void setComparisonType(int comparisonType)
setCorrelation
public void setCorrelation(Double correlation)
setIntercept
public void setIntercept(Double intercept)
setSlope
public void setSlope(Double slope)
typeToString
public static String typeToString(int type)
****************************************************************************
Copyright 1997-2009
Department of Computer and Information Science, University of Oregon
Advanced Computing Laboratory, Los Alamos National Laboratory
Juelich Supercomputing Centre, Research Center Juelich, Germany
http://tau.uoregon.edu
****************************************************************************
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of University of Oregon (UO) and Los Alamos National Laboratory (LANL) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The University of Oregon and LANL makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE UNIVERSITY OF OREGON AND LANL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF OREGON OR LANL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.