PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class TrialResult

Object
  extended by AbstractResult
      extended by TrialResult
All Implemented Interfaces:
PerformanceResult, Serializable

public class TrialResult
extends AbstractResult

This class is an implementation of the AbstractResult class, and loads a trial from the database into a result object.

CVS $Id: TrialResult.java,v 1.14 2009/04/03 23:53:37 khuck Exp $

Since:
2.0
Version:
2.0
Author:
Kevin Huck
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractResult
CALLS, EXCLUSIVE, INCLUSIVE, SUBROUTINES, USEREVENT_MAX, USEREVENT_MEAN, USEREVENT_MIN, USEREVENT_NUMEVENTS, USEREVENT_SUMSQR
 
Constructor Summary
TrialResult()
           
TrialResult(Trial trial)
           
TrialResult(TrialResult input)
           
TrialResult(Trial trial, String metric, String event, String thread, boolean callPath)
           
 
Method Summary
 String getEventGroupName(String eventName)
           
 String toString()
          This method will return a string representation of this PerformanceResult.
 
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, 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, typeToString, updateEventMap
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrialResult

public TrialResult()

TrialResult

public TrialResult(Trial trial)

TrialResult

public TrialResult(TrialResult input)
Parameters:
input -

TrialResult

public TrialResult(Trial trial,
                   String metric,
                   String event,
                   String thread,
                   boolean callPath)
Method Detail

getEventGroupName

public String getEventGroupName(String eventName)

toString

public String toString()
Description copied from interface: PerformanceResult
This method will return a string representation of this PerformanceResult.

Specified by:
toString in interface PerformanceResult
Overrides:
toString in class AbstractResult
Returns:
a printable string

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.