org.eclipse.test.internal.performance
Class InternalPerformanceMeter
java.lang.Object
org.eclipse.test.performance.PerformanceMeter
org.eclipse.test.internal.performance.InternalPerformanceMeter
- Direct Known Subclasses:
- OSPerformanceMeter, SystemTimePerformanceMeter
public abstract class InternalPerformanceMeter
- extends PerformanceMeter
Method Summary |
void |
commit()
Called exactly once after repeated measurements are done and before
their analysis. |
void |
dispose()
Dispose associated resources. |
abstract Sample |
getSample()
|
java.lang.String |
getScenarioName()
Answer the scenario ID. |
void |
setComment(int commentType,
java.lang.String comment)
|
void |
tagAsSummary(boolean global,
java.lang.String shortName,
Dimension[] dims)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVERAGE
public static final int AVERAGE
- See Also:
- Constant Field Values
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
STDEV
public static final int STDEV
- See Also:
- Constant Field Values
BEFORE
public static final int BEFORE
- See Also:
- Constant Field Values
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
InternalPerformanceMeter
public InternalPerformanceMeter(java.lang.String scenarioId)
dispose
public void dispose()
- Description copied from class:
PerformanceMeter
- Dispose associated resources. Clients must call this method exactly
once. Afterwards no methods must be called on the performance meter.
- Specified by:
dispose
in class PerformanceMeter
getSample
public abstract Sample getSample()
getScenarioName
public java.lang.String getScenarioName()
- Answer the scenario ID.
- Returns:
- the scenario ID
commit
public void commit()
- Description copied from class:
PerformanceMeter
- Called exactly once after repeated measurements are done and before
their analysis. Afterwards
PerformanceMeter.start()
and
PerformanceMeter.stop()
must not be called.
- Specified by:
commit
in class PerformanceMeter
tagAsSummary
public void tagAsSummary(boolean global,
java.lang.String shortName,
Dimension[] dims)
setComment
public void setComment(int commentType,
java.lang.String comment)