|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.test.performance.PerformanceMeter
org.eclipse.test.internal.performance.InternalPerformanceMeter
org.eclipse.test.internal.performance.SystemTimePerformanceMeter
public class SystemTimePerformanceMeter
| Field Summary |
|---|
| Fields inherited from class org.eclipse.test.internal.performance.InternalPerformanceMeter |
|---|
AFTER, AVERAGE, BEFORE, SIZE, STDEV |
| Constructor Summary | |
|---|---|
SystemTimePerformanceMeter(java.lang.String scenarioId)
|
|
SystemTimePerformanceMeter(java.lang.String scenarioId,
int initalCapacity)
|
|
| Method Summary | |
|---|---|
void |
commit()
Called exactly once after repeated measurements are done and before their analysis. |
void |
dispose()
Dispose associated resources. |
Sample |
getSample()
|
void |
start()
Called immediately before the operation to measure. |
void |
stop()
Called immediately after the operation to measure. |
| Methods inherited from class org.eclipse.test.internal.performance.InternalPerformanceMeter |
|---|
getScenarioName, setComment, tagAsSummary |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemTimePerformanceMeter(java.lang.String scenarioId)
scenarioId - the scenario id
public SystemTimePerformanceMeter(java.lang.String scenarioId,
int initalCapacity)
scenarioId - the scenario idinitalCapacity - the initial capacity in the number of measurments| Method Detail |
|---|
public void start()
PerformanceMeterPerformanceMeter.stop() before subsequent calls
to this method or PerformanceMeter.commit().
start in class PerformanceMeterpublic void stop()
PerformanceMeterPerformanceMeter.start(), that follows any
previous call to this method.
stop in class PerformanceMeterpublic void commit()
PerformanceMeterPerformanceMeter.start() and
PerformanceMeter.stop() must not be called.
commit in class InternalPerformanceMeterpublic void dispose()
PerformanceMeter
dispose in class InternalPerformanceMeterpublic Sample getSample()
getSample in class InternalPerformanceMeter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||