public class PerfTest extends Task
Task.Fork, Task.Invoke<TT>, Task.Spawn<TT>| Modifier and Type | Field and Description |
|---|---|
static int |
QUEUE_CAPACITY |
static int |
REPETITIONS |
static int |
TEST_VALUE |
done, exitResult, fiber, id, pauseReason, running, scheduler, timer| Constructor and Description |
|---|
PerfTest(Mailbox<java.lang.Integer> mymb) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
static void |
main(java.lang.String[] args) |
static void |
performanceRun(int runNumber) |
checkKill, dump, equals, errNotWoven, errNotWoven, errorExit, errorExit, execute, exit, exit, fork, getCurrentTask, getExecutionThread, getPauseReason, getScheduler, getStackDepth, getState, getTid, hashCode, id, idledown, informOnExit, invoke, isDone, join, joinb, onEvent, pause, pause, pinToThread, prePin, resume, resumeOnScheduler, run, setPauseReason, setScheduler, setTid, shutdown, sleep, spawn, spawn, start, toString, unpinFromThread, yield, yieldpublic static int QUEUE_CAPACITY
public static int REPETITIONS
public static final int TEST_VALUE
public PerfTest(Mailbox<java.lang.Integer> mymb)
public void execute()
throws Pausable
execute in interface Fiber.Workerexecute in class TaskPausablepublic static void main(java.lang.String[] args)
args - optional arguments: queue capacity (in k) and repetitions (int meg)public static void performanceRun(int runNumber)