|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.test.internal.performance.results.AbstractResults
public abstract class AbstractResults
Abstract class to store performance results. Each results gives access to specific children depending on model.
Field Summary | |
---|---|
static java.lang.String[] |
BOXES
The list of possible test boxes. |
static java.lang.String[] |
CONFIGS
The list of possible configurations. |
static Dim |
DEFAULT_DIM
The default dimension used to display results (typically in fingerprints). |
static Dim[] |
SUPPORTED_DIMS
The list of supported dimensions. |
static java.lang.String |
VERSION
|
static java.lang.String |
VERSION_REF
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compare the results to the given one using the name. |
static boolean |
copyFile(java.io.File src,
java.io.File dest)
Copy a file to another location. |
boolean |
equals(java.lang.Object obj)
Returns whether two results are equals using the name to compare them. |
static java.lang.String |
getBuildDate(java.lang.String buildName)
|
static java.lang.String |
getBuildDate(java.lang.String buildName,
java.lang.String baselinePrefix)
|
AbstractResults[] |
getChildren()
Return an array built on the current results children list. |
java.lang.String |
getName()
Returns the name of the results object. |
AbstractResults |
getParent()
Returns the parent |
java.util.Iterator |
getResults()
Return the children list of the current results. |
int |
hashCode()
|
int |
size()
|
static java.lang.String |
timeChrono(long time)
|
static java.lang.String |
timeEnd(long time)
|
static java.lang.String |
timeString(long time)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Dim[] SUPPORTED_DIMS
Currently only InternalDimensions.ELAPSED_PROCESS
and InternalDimensions.CPU_TIME
.
public static final Dim DEFAULT_DIM
Currently InternalDimensions.ELAPSED_PROCESS
public static final java.lang.String[] CONFIGS
Only used if no specific configurations are specified
(see PerformanceResults.readAll(String, String[][], String, File, int, org.eclipse.core.runtime.IProgressMonitor)
.
public static final java.lang.String[] BOXES
Only used if no specific configurations are specified
(see PerformanceResults.readAll(String, String[][], String, File, int, org.eclipse.core.runtime.IProgressMonitor)
.
public static final java.lang.String VERSION_REF
public static final java.lang.String VERSION
Method Detail |
---|
public static boolean copyFile(java.io.File src, java.io.File dest)
src
- the source file.dest
- the destination.
true
if the file was successfully copied,
false
otherwise.public static java.lang.String getBuildDate(java.lang.String buildName)
public static java.lang.String getBuildDate(java.lang.String buildName, java.lang.String baselinePrefix)
public static java.lang.String timeString(long time)
public static java.lang.String timeChrono(long time)
public static java.lang.String timeEnd(long time)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The results to compare with
true
if the name are equals,
false
otherwiseComparable.compareTo(java.lang.Object)
public AbstractResults[] getChildren()
public java.lang.String getName()
public AbstractResults getParent()
public java.util.Iterator getResults()
public int hashCode()
hashCode
in class java.lang.Object
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |