Class ThreadSafeSpeedTest

java.lang.Object
com.singularsys.jepexamples.diagnostics.ThreadSpeedTest
com.singularsys.jepexamples.diagnostics.ThreadSafeSpeedTest

public class ThreadSafeSpeedTest extends ThreadSpeedTest
A diagnostic application using the ThreadSafeEvaluator and a variable number of threads.
  • Constructor Details

  • Method Details

    • makeThread

      public Thread makeThread(int index, double min, double max, int nItts) throws JepException
      Description copied from class: ThreadSpeedTest
      Make a thread to evaluate an expression multiple times. Can be overridden to change how threads are created. This version uses ThreadSpeedTest.EvaluationThread
      Overrides:
      makeThread in class ThreadSpeedTest
      Parameters:
      index - the number of this thread
      min - minimum value for variable
      max - maximum value for variable
      nItts - number of iterations
      Returns:
      the thread
      Throws:
      JepException
    • main

      public static void main(String[] args)
      Parameters:
      args -