ca.nengo.util.impl
Class NodeThreadPool
java.lang.Object
ca.nengo.util.impl.NodeThreadPool
- Direct Known Subclasses:
- GPUNodeThreadPool
public class NodeThreadPool
- extends java.lang.Object
A pool of threads for running nodes in. All interaction with the threads
is done through this class
- Author:
- Eric Crawford
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeThreadPool
public NodeThreadPool(Node[] nodes)
getNumThreads
public static int getNumThreads()
setNumThreads
public static void setNumThreads(int value)
isMultithreading
public static boolean isMultithreading()
turnOffMultithreading
public static void turnOffMultithreading()
getStartTime
public float getStartTime()
getEndTime
public float getEndTime()
finishedRun
public boolean finishedRun()
step
public void step(float startTime,
float endTime)
kill
public void kill()
getNextNode
public Node getNextNode()
finishedANode
public void finishedANode()