public class NodeThread
extends java.lang.Thread
Constructor and Description |
---|
NodeThread(NodeThreadPool nodePool,
Node[] nodes,
int startIndexInNodes,
int endIndexInNodes,
Projection[] projections,
int startIndexInProjections,
int endIndexInProjections,
ThreadTask[] tasks,
int startIndexInTasks,
int endIndexInTasks) |
Modifier and Type | Method and Description |
---|---|
void |
finished() |
double |
getMyAverageTimeOnNodesPerStep() |
double |
getMyAverageTimeOnProjectionsPerStep() |
double |
getMyAverageTimeOnTasksPerStep() |
protected void |
kill() |
void |
run() |
protected void |
runNodes(float startTime,
float endTime) |
protected void |
runProjections(float startTime,
float endTime) |
protected void |
runTasks(float startTime,
float endTime) |
void |
setCollectTimings(boolean myCollectTimings) |
void |
waitForPool() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public NodeThread(NodeThreadPool nodePool, Node[] nodes, int startIndexInNodes, int endIndexInNodes, Projection[] projections, int startIndexInProjections, int endIndexInProjections, ThreadTask[] tasks, int startIndexInTasks, int endIndexInTasks)
public void waitForPool()
public void finished()
protected void runProjections(float startTime, float endTime) throws SimulationException
SimulationException
protected void runNodes(float startTime, float endTime) throws SimulationException
SimulationException
protected void runTasks(float startTime, float endTime) throws SimulationException
SimulationException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected void kill()
public void setCollectTimings(boolean myCollectTimings)
public double getMyAverageTimeOnProjectionsPerStep()
public double getMyAverageTimeOnNodesPerStep()
public double getMyAverageTimeOnTasksPerStep()