Package org.nebulaframework.benchmark.scimark2.grid

Examples of org.nebulaframework.benchmark.scimark2.grid.SciMark2Task


    int tasks = results.size();
   
    // Calculate MFLOPS
    double mflops =  CalculationSupport.getSOR(cyclesPerTask*tasks, time);
   
    BenchmarkResult result = new BenchmarkResult(type, mflops, time);
    result.setCyclesPerTask(cyclesPerTask);
    result.setTasks(tasks);
   
    return result;
  }
View Full Code Here


    int tasks = results.size();
   
    // Calculate MFLOPS
    double mflops =  CalculationSupport.getLU(cyclesPerTask*tasks, time);
   
    BenchmarkResult result = new BenchmarkResult(type, mflops, time);
    result.setCyclesPerTask(cyclesPerTask);
    result.setTasks(tasks);
   
    return result;
  }
View Full Code Here

    int tasks = results.size();
   
    // Calculate MFLOPS
    double mflops =  CalculationSupport.getSparse(cyclesPerTask*tasks, time);
   
    BenchmarkResult result = new BenchmarkResult(type, mflops, time);
    result.setCyclesPerTask(cyclesPerTask);
    result.setTasks(tasks);
   
    return result;
  }
View Full Code Here

    int tasks = results.size();
   
    // Calculate MFLOPS
    double mflops =  CalculationSupport.getFFT(cyclesPerTask*tasks, time);
   
    BenchmarkResult result = new BenchmarkResult(type, mflops, time);
    result.setCyclesPerTask(cyclesPerTask);
    result.setTasks(tasks);
   
    return result;
  }
View Full Code Here

    int tasks = results.size();
   
    // Calculate MFLOPS
    double mflops =  CalculationSupport.getMonteCarlo(cyclesPerTask*tasks, time);
   
    BenchmarkResult result = new BenchmarkResult(type, mflops, time);
    result.setCyclesPerTask(cyclesPerTask);
    result.setTasks(tasks);
   
    return result;
  }
View Full Code Here

    sw.reset();
    sw.start();
   
    List<GridTask<ExecutionResult>> tasks = new ArrayList<GridTask<ExecutionResult>>();
    for (int i=0; i < numTasks; i++) {
      tasks.add(new SciMark2Task(type, cyclesPerTask, random));
    }
   
    return tasks;
  }
View Full Code Here

    BenchmarkResult result;
   
    double mflops_sum = 0;
   
    // FFT
    future = node.getJobSubmissionService().submitJob(new SciMark2FFTBenchmark(TASKS));
    result = (BenchmarkResult) future.getResult();
    System.err.println("FFT : " + result);
    mflops_sum += result.getMflops();
   
    // SOR
View Full Code Here

    result = (BenchmarkResult) future.getResult();
    System.err.println("Sparse : " + result);
    mflops_sum += result.getMflops();
   
    // LU
    future = node.getJobSubmissionService().submitJob(new SciMark2LUBenchmark(TASKS));
    result = (BenchmarkResult) future.getResult();
    System.err.println("LU : " + result);
    mflops_sum += result.getMflops();
   
   
View Full Code Here

    result = (BenchmarkResult) future.getResult();
    System.err.println("SOR : " + result);
    mflops_sum += result.getMflops();
   
    // Monte Carlo
    future = node.getJobSubmissionService().submitJob(new SciMark2MCBenchmark(TASKS));
    result = (BenchmarkResult) future.getResult();
    System.err.println("Monte Carlo : " + result);
    mflops_sum += result.getMflops();
   
    // Sparse
View Full Code Here

    result = (BenchmarkResult) future.getResult();
    System.err.println("FFT : " + result);
    mflops_sum += result.getMflops();
   
    // SOR
    future = node.getJobSubmissionService().submitJob(new SciMark2SORBenchmark(TASKS));
    result = (BenchmarkResult) future.getResult();
    System.err.println("SOR : " + result);
    mflops_sum += result.getMflops();
   
    // Monte Carlo
View Full Code Here

TOP

Related Classes of org.nebulaframework.benchmark.scimark2.grid.SciMark2Task

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.