|
PerfExplorer 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PerformanceResult
This interface is defined as the methods all performance results should support. All operations should be refered to through this interface, whenever possible.
CVS $Id: PerformanceResult.java,v 1.12 2009/11/27 16:51:05 khuck Exp $
| Method Summary | |
|---|---|
double |
getCalls(Integer thread,
String event)
This method will return the number of times that the specified event was called on the specified thread of execution. |
double |
getDataPoint(Integer thread,
String event,
String metric,
int type)
This method will return the value stored in the trial for the specified thread, event, metric, type combination. |
DataSource |
getDataSource()
This method returns the DataSource to which the performance data is related. |
Map<Integer,String> |
getEventMap()
Get a Map of events in this result. |
Set<String> |
getEvents()
This method will return a Set of Strings, which represent the names of the events in the trial. |
double |
getExclusive(Integer thread,
String event,
String metric)
This method will return the exclusive value stored in the trial for the selected thread, event, metric combination. |
String |
getFPMetric()
This method returns the metric name which represents floating point operations. |
double |
getInclusive(Integer thread,
String event,
String metric)
This method will return the inclusive value stored in the trial for the selected thread, event, metric combination. |
String |
getL1AccessMetric()
This method returns the metric name which represents L1 cache accesses. |
String |
getL1MissMetric()
This method returns the metric name which represents the L1 cache misses. |
String |
getL2AccessMetric()
This method returns the metric name which represents L2 cache accesses. |
String |
getL2MissMetric()
This method returns the metric name which represents the L2 cache misses. |
String |
getL3AccessMetric()
This method returns the metric name which represents L3 cache accesses. |
String |
getL3MissMetric()
This method returns the metric name which represents the L3 cache misses. |
String |
getMainEvent()
This method will return the name of the event which has the highest inclusive time value in the trial. |
Set<String> |
getMetrics()
This method will return a Set of Strings, which represent the names of the metrics in the trial. |
String |
getName()
Get the name for this input. |
Integer |
getOriginalThreads()
This method will return the number of threads in the trial from which this data was derived. |
Map<String,Double> |
getSortedByValue(String metric,
int type,
boolean ascending)
This method will return a Map of values, sorted by the values. |
double |
getSubroutines(Integer thread,
String event)
This method will return the number of subroutines that the specified event had on the specified thread of execution. |
Set<Integer> |
getThreads()
This method will return a Set of Integers, which represent the identifiers of the threads of execution in the trial. |
String |
getTimeMetric()
This method will return the metric which represents the time metric in the trial. |
String |
getTLBMissMetric()
This method returns the metric name which represents the TLB misses. |
String |
getTotalInstructionMetric()
This method returns the metric name which represents the total number of instructions. |
Trial |
getTrial()
This method returns the Trial to which the performance data is related. |
Integer |
getTrialID()
This method returns the ID of the Trial to which the performance data is related. |
double |
getUsereventMax(Integer thread,
String event)
This method will return the maximum value for the specified user event which was observed on the specified thread of execution. |
double |
getUsereventMean(Integer thread,
String event)
This method will return the mean value for the specified user event which was observed on the specified thread of execution. |
double |
getUsereventMin(Integer thread,
String event)
This method will return the minimum value for the specified user event which was observed on the specified thread of execution. |
double |
getUsereventNumevents(Integer thread,
String event)
This method will return the number of times that a specified user event happened on the specified thread of execution. |
Set<String> |
getUserEvents()
This method will return a Set of Strings, which represent the names of the userevents in the trial. |
Set<String> |
getUserEvents(Integer thread)
This method will return a Set of Strings, which represent the names of the userevents for the specified thread in the trial. |
double |
getUsereventSumsqr(Integer thread,
String event)
This method will return the sum of squared values for the specified user event which was observed on the specified thread of execution. |
void |
putCalls(Integer thread,
String event,
double value)
This method will save the specified value as the number of calls for the specified event on the specified thread of execution. |
void |
putDataPoint(Integer thread,
String event,
String metric,
int type,
double value)
This method will store the specified value in the trial for the specified thread, event, metric, type combination. |
void |
putExclusive(Integer thread,
String event,
String metric,
double value)
This method will save the specified value as the exclusive value for the specified thread, event, metric combination. |
void |
putInclusive(Integer thread,
String event,
String metric,
double value)
This method will save the specified value as the inclusive value for the specified thread, event, metric combination. |
void |
putSubroutines(Integer thread,
String event,
double value)
This method will save the specified value as the number of subroutines for the specified event on the specified thread of execution. |
void |
putUsereventMax(Integer thread,
String event,
double value)
This method will save the maximum value for a specified user event which was observed on the specified thread of execution. |
void |
putUsereventMean(Integer thread,
String event,
double value)
This method will save the mean value for a specified user event which was observed on the specified thread of execution. |
void |
putUsereventMin(Integer thread,
String event,
double value)
This method will save the minimum value for a specified user event which was observed on the specified thread of execution. |
void |
putUsereventNumevents(Integer thread,
String event,
double value)
This method will save the number of times that a specified user event happened on the specified thread of execution. |
void |
putUsereventSumsqr(Integer thread,
String event,
double value)
This method will save the sum of squared values for the specified user event which was observed on the specified thread of execution. |
void |
setEventMap(Map<Integer,String> eventMap)
Set the Map of events in this result. |
void |
setIgnoreWarnings(boolean ignore)
When values are requested from the trial, ignore warnings if the values are null |
void |
setName(String name)
Set the name for this input. |
String |
toString()
This method will return a string representation of this PerformanceResult. |
void |
updateEventMap()
update the event map - remove what's missing, essentially |
| Method Detail |
|---|
double getCalls(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
double getDataPoint(Integer thread,
String event,
String metric,
int type)
thread - The thread of interestevent - The event of interestmetric - The metric of interesttype - The type of data to return
getExclusive(java.lang.Integer, java.lang.String, java.lang.String),
getInclusive(java.lang.Integer, java.lang.String, java.lang.String),
getCalls(java.lang.Integer, java.lang.String),
getSubroutines(java.lang.Integer, java.lang.String),
AbstractResult.INCLUSIVE,
AbstractResult.EXCLUSIVE,
AbstractResult.CALLS,
AbstractResult.SUBROUTINES,
AbstractResult.USEREVENT_NUMEVENTS,
AbstractResult.USEREVENT_MAX,
AbstractResult.USEREVENT_MIN,
AbstractResult.USEREVENT_MEAN,
AbstractResult.USEREVENT_SUMSQRDataSource getDataSource()
Map<Integer,String> getEventMap()
MapSet<String> getEvents()
double getExclusive(Integer thread,
String event,
String metric)
thread - The thread of interestevent - The event of interestmetric - The metric of interest
String getFPMetric()
double getInclusive(Integer thread,
String event,
String metric)
thread - The thread of interestevent - The event of interestmetric - The metric of interest
String getL1AccessMetric()
String getL1MissMetric()
String getL2AccessMetric()
String getL2MissMetric()
String getL3AccessMetric()
String getL3MissMetric()
String getMainEvent()
Set<String> getMetrics()
String getName()
Integer getOriginalThreads()
Map<String,Double> getSortedByValue(String metric,
int type,
boolean ascending)
metric - The metric of interesttype - The type of dataascending - Either ascending (true) or descending (false) order
AbstractResult.INCLUSIVE,
AbstractResult.EXCLUSIVE,
AbstractResult.CALLS,
AbstractResult.SUBROUTINES,
AbstractResult.USEREVENT_NUMEVENTS,
AbstractResult.USEREVENT_MAX,
AbstractResult.USEREVENT_MIN,
AbstractResult.USEREVENT_MEAN,
AbstractResult.USEREVENT_SUMSQR
double getSubroutines(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
Set<Integer> getThreads()
String getTimeMetric()
String getTLBMissMetric()
String getTotalInstructionMetric()
Trial getTrial()
Integer getTrialID()
double getUsereventMax(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
double getUsereventMean(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
double getUsereventMin(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
double getUsereventNumevents(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
Set<String> getUserEvents()
Set<String> getUserEvents(Integer thread)
double getUsereventSumsqr(Integer thread,
String event)
thread - The thread of interestevent - The event of interest
void putCalls(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The value measured on that thread, event combination
void putDataPoint(Integer thread,
String event,
String metric,
int type,
double value)
thread - The thread of interestevent - The event of interestmetric - The metric of interesttype - The type of data to returnvalue - The value The value of that type measured on that thread,
event, metric combinationputExclusive(java.lang.Integer, java.lang.String, java.lang.String, double),
putInclusive(java.lang.Integer, java.lang.String, java.lang.String, double),
putCalls(java.lang.Integer, java.lang.String, double),
putSubroutines(java.lang.Integer, java.lang.String, double),
AbstractResult.INCLUSIVE,
AbstractResult.EXCLUSIVE,
AbstractResult.CALLS,
AbstractResult.SUBROUTINES,
AbstractResult.USEREVENT_NUMEVENTS,
AbstractResult.USEREVENT_MAX,
AbstractResult.USEREVENT_MIN,
AbstractResult.USEREVENT_MEAN,
AbstractResult.USEREVENT_SUMSQR
void putExclusive(Integer thread,
String event,
String metric,
double value)
thread - The thread of interestevent - The event of interestmetric - The metric of interestvalue - The value measured on that thread, event, metric combination
void putInclusive(Integer thread,
String event,
String metric,
double value)
thread - The thread of interestevent - The event of interestmetric - The metric of interestvalue - The value measured on that thread, event, metric combination
void putSubroutines(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The value measured on that thread, event combination
void putUsereventMax(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The maximum value
void putUsereventMean(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The mean value
void putUsereventMin(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The minimum value
void putUsereventNumevents(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The number of events
void putUsereventSumsqr(Integer thread,
String event,
double value)
thread - The thread of interestevent - The event of interestvalue - The sum of squared valuesvoid setEventMap(Map<Integer,String> eventMap)
eventMap - the eventMap to setMapvoid setIgnoreWarnings(boolean ignore)
ignore - void setName(String name)
name - The new name for the inputString toString()
toString in class Objectvoid updateEventMap()
|
PerfExplorer 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||