Class BenchmarkFramework


  • public class BenchmarkFramework
    extends java.lang.Object
    This class provides a very simple framework for running a BenchmarkTest kernel several times and time the results.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int timeLimit  
      private Timer[] timers  
    • Constructor Summary

      Constructors 
      Constructor Description
      BenchmarkFramework​(int iterations, int timeLimit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(BenchmarkTest test)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timers

        private Timer[] timers
      • timeLimit

        private int timeLimit
    • Constructor Detail

      • BenchmarkFramework

        public BenchmarkFramework​(int iterations,
                                  int timeLimit)