public interface PluginThreadContext
This class is used to share thread information between the Grinder and the plug-in.
Modifier and Type | Method and Description |
---|---|
int |
getRunNumber()
Return the current run number.
|
int |
getThreadNumber()
Return the thread number.
|
void |
pauseClock()
The time taken between invocations of
pauseClock() and
resumeClock() is not included in the recorded time for a test. |
void |
resumeClock() |
int getThreadNumber()
int getRunNumber()
void pauseClock()
pauseClock()
and
resumeClock()
is not included in the recorded time for a test. This
allows plug-ins to discount the cost of expensive pre or post processing.
Has no effect if called when the is no dispatch in progress.
void resumeClock()
pauseClock()
Copyright © 2000-2014. All Rights Reserved.