PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class MeanEventFact

Object
  extended by MeanEventFact

public class MeanEventFact
extends Object

Author:
khuck

Field Summary
static int BETTER
           
static int HIGHER
           
static int LOWER
           
static int NONE
           
static int WORSE
           
 
Method Summary
static void compareEventToMain(PerformanceResult mainInput, String mainEvent, PerformanceResult eventInput, String event)
           
static void compareEventToMain(PerformanceResult mainInput, String mainEvent, PerformanceResult eventInput, String event, String timeMetric)
           
static void evaluateLoadBalance(PerformanceResult means, PerformanceResult ratios, String event)
           
static void evaluateLoadBalance(PerformanceResult means, PerformanceResult ratios, String event, String testMetric)
           
static void evaluateLoadBalance(PerformanceResult means, PerformanceResult ratios, String event, String testMetric, int type)
           
static void evaluateMetric(PerformanceResult means, String event, String testMetric)
           
 String getEventName()
           
 double getEventValue()
           
 String getFactType()
           
 double getMainValue()
           
 String getMeaningfulMetricName()
           
 String getMetric()
           
 String getPercentage()
           
 String getPercentage(Double value)
           
 double getSeverity()
           
 int isBetterWorse()
           
 void setBetterWorse(int betterWorse)
           
 void setEventName(String eventName)
           
 void setEventValue(double eventValue)
           
 void setFactType(String factType)
           
 void setMainValue(double mainValue)
           
 void setMeaningfulMetricName(String meaningfulMetricName)
           
 void setMetric(String metric)
           
 void setSeverity(double severity)
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BETTER

public static final int BETTER
See Also:
Constant Field Values

HIGHER

public static final int HIGHER
See Also:
Constant Field Values

LOWER

public static final int LOWER
See Also:
Constant Field Values

NONE

public static final int NONE
See Also:
Constant Field Values

WORSE

public static final int WORSE
See Also:
Constant Field Values
Method Detail

compareEventToMain

public static void compareEventToMain(PerformanceResult mainInput,
                                      String mainEvent,
                                      PerformanceResult eventInput,
                                      String event)

compareEventToMain

public static void compareEventToMain(PerformanceResult mainInput,
                                      String mainEvent,
                                      PerformanceResult eventInput,
                                      String event,
                                      String timeMetric)

evaluateLoadBalance

public static void evaluateLoadBalance(PerformanceResult means,
                                       PerformanceResult ratios,
                                       String event)

evaluateLoadBalance

public static void evaluateLoadBalance(PerformanceResult means,
                                       PerformanceResult ratios,
                                       String event,
                                       String testMetric)

evaluateLoadBalance

public static void evaluateLoadBalance(PerformanceResult means,
                                       PerformanceResult ratios,
                                       String event,
                                       String testMetric,
                                       int type)

evaluateMetric

public static void evaluateMetric(PerformanceResult means,
                                  String event,
                                  String testMetric)

getEventName

public String getEventName()
Returns:
the eventName

getEventValue

public double getEventValue()
Returns:
the eventValue

getFactType

public String getFactType()
Returns:
the factType

getMainValue

public double getMainValue()
Returns:
the mainValue

getMeaningfulMetricName

public String getMeaningfulMetricName()
Returns:
the meaningfulMetricName

getMetric

public String getMetric()
Returns:
the metric

getPercentage

public String getPercentage()

getPercentage

public String getPercentage(Double value)

getSeverity

public double getSeverity()
Returns:
the severity

isBetterWorse

public int isBetterWorse()
Returns:
the betterWorse

setBetterWorse

public void setBetterWorse(int betterWorse)
Parameters:
betterWorse - the betterWorse to set

setEventName

public void setEventName(String eventName)
Parameters:
eventName - the eventName to set

setEventValue

public void setEventValue(double eventValue)
Parameters:
eventValue - the eventValue to set

setFactType

public void setFactType(String factType)
Parameters:
factType - the factType to set

setMainValue

public void setMainValue(double mainValue)
Parameters:
mainValue - the mainValue to set

setMeaningfulMetricName

public void setMeaningfulMetricName(String meaningfulMetricName)
Parameters:
meaningfulMetricName - the meaningfulMetricName to set

setMetric

public void setMetric(String metric)
Parameters:
metric - the metric to set

setSeverity

public void setSeverity(double severity)
Parameters:
severity - the severity to set

toString

public String toString()
Overrides:
toString in class Object

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.