|
||||||||||
| 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.OSPerformanceMeter
public class OSPerformanceMeter
Performance meter that makes its measurements with OS functionality.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.test.internal.performance.InternalPerformanceMeter |
|---|
AFTER, AVERAGE, BEFORE, SIZE, STDEV |
| Constructor Summary | |
|---|---|
OSPerformanceMeter(java.lang.String scenarioId)
|
|
| Method Summary | |
|---|---|
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 |
|---|
commit, getScenarioName, setComment, tagAsSummary |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSPerformanceMeter(java.lang.String scenarioId)
scenarioId - the scenario id| Method Detail |
|---|
public void dispose()
PerformanceMeter
dispose in class InternalPerformanceMeterpublic 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 Sample getSample()
getSample in class InternalPerformanceMeter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||