Class BenchmarkUtils

java.lang.Object
cz.fidentis.analyst.gui.app.tools.opencl.BenchmarkUtils

public class BenchmarkUtils extends Object
Convenience methods for loading MeshModel files
  • Constructor Details

    • BenchmarkUtils

      public BenchmarkUtils()
  • Method Details

    • getModel

      public static MeshModel getModel(String path)
      Parameters:
      path -
      Returns:
    • getModels

      public static List<MeshModel> getModels(String dir)
      Parameters:
      dir -
      Returns:
    • printGPU

      public static void printGPU()
      Prints name of OpenCL device
    • printComparison

      public static void printComparison(long timeCPU, long timeGPU, int iterations)
      Prints benchmark results to stdout
      Parameters:
      timeCPU -
      timeGPU -
      iterations -