PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class CorrelationResult

Object
  extended by AbstractResult
      extended by DefaultResult
          extended by CorrelationResult
All Implemented Interfaces:
PerformanceResult, SelfAsserting, Serializable

public class CorrelationResult
extends DefaultResult
implements SelfAsserting

Author:
khuck
See Also:
Serialized Form

Nested Class Summary
 class CorrelationResult.FactData
           
 
Field Summary
static int CORRELATION
           
static int INTERCEPT
           
static int METADATA
           
static String NAME
           
static int SLOPE
           
 
Fields inherited from class AbstractResult
CALLS, EXCLUSIVE, INCLUSIVE, SUBROUTINES, USEREVENT_MAX, USEREVENT_MEAN, USEREVENT_MIN, USEREVENT_NUMEVENTS, USEREVENT_SUMSQR
 
Constructor Summary
CorrelationResult()
           
CorrelationResult(PerformanceResult input, boolean notFullCopy)
           
CorrelationResult(String baselineMetric, String comparisonMetric, String baselineEvent, String comparisonEvent, int baselineType, int comparisonType, Double correlation)
           
 
Method Summary
 void assertFact(String event, String metric, int type, String event2, String metric2, int type2, double correlation, double slope, double intercept)
           
 void assertFacts()
          Method for asserting facts in a working memory maintained by the rule harness.
 void assertFacts(RuleHarness ruleHarness)
          Method for asserting facts in a working memory maintained by the rule harness.
 String getBaselineEvent()
           
 String getBaselineMetric()
           
 int getBaselineType()
           
 String getComparisonEvent()
           
 String getComparisonMetric()
           
 int getComparisonType()
           
 Double getCorrelation()
           
 Double getIntercept()
           
 Double getSlope()
           
static List<Integer> getTypes()
           
 void removeFact(String factName)
          Method for removing facts once they have been processed
 void setBaselineEvent(String baselineEvent)
           
 void setBaselineMetric(String baselineMetric)
           
 void setBaselineType(int type)
           
 void setComparisonEvent(String comparisonEvent)
           
 void setComparisonMetric(String comparisonMetric)
           
 void setComparisonType(int comparisonType)
           
 void setCorrelation(Double correlation)
           
 void setIntercept(Double intercept)
           
 void setSlope(Double slope)
           
static String typeToString(int type)
           
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

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)

PerfExplorer 2.0

****************************************************************************
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.