Class ThreadSafeSpeedTest

    • Constructor Detail

      • ThreadSafeSpeedTest

        public ThreadSafeSpeedTest​(java.lang.String expression,
                                   java.lang.String varName)
                            throws ParseException
        Throws:
        ParseException
    • Method Detail

      • makeThread

        public java.lang.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​(java.lang.String[] args)
        Parameters:
        args -