public class ThreadSafeSpeedTest extends ThreadSpeedTest
ThreadSafeEvaluator
and a variable number of threads.| Modifier and Type | Class and Description |
|---|---|
static class |
ThreadSafeSpeedTest.EvaluationThread
A thread which evaluates an expression multiple times.
|
base, baseJep, MAX_LOOPS, MAX_THREADS, N_TERMS, TOTAL_ITTS, varName| Constructor and Description |
|---|
ThreadSafeSpeedTest(java.lang.String expression,
java.lang.String varName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
java.lang.Thread |
makeThread(int index,
double min,
double max,
int nItts)
Make a thread to evaluate an expression multiple times.
|
analyize, getExpression, go, looppublic ThreadSafeSpeedTest(java.lang.String expression,
java.lang.String varName)
throws ParseException
ParseExceptionpublic java.lang.Thread makeThread(int index,
double min,
double max,
int nItts)
throws JepException
ThreadSpeedTestThreadSpeedTest.EvaluationThreadmakeThread in class ThreadSpeedTestindex - the number of this threadmin - minimum value for variablemax - maximum value for variablenItts - number of iterationsJepExceptionpublic static void main(java.lang.String[] args)
args - Copyright © 2018 Singular Systems http://www.singularsys.com/jep