Package org.nebulaframework.benchmark.scimark.grid

Examples of org.nebulaframework.benchmark.scimark.grid.ExecutionResult


        break;

      cycles *= 2;
    }

    ExecutionResult result = new ExecutionResult();
    result.setType(BenchmarkType.SOR);
    result.setCalculationTime(sw.read());
    result.setCycles(cycles);

    return result;
  }
View Full Code Here


        break;

      cycles *= 2;
    }

    ExecutionResult result = new ExecutionResult();
    result.setType(BenchmarkType.MONTE_CARLO);
    result.setCalculationTime(sw.read());
    result.setCycles(cycles);

    return result;
  }
View Full Code Here

        break;

      cycles *= 2;
    }

    ExecutionResult result = new ExecutionResult();
    result.setType(BenchmarkType.SPARSE);
    result.setCalculationTime(sw.read());
    result.setCycles(cycles);

    return result;
  }
View Full Code Here

    final double EPS = 1.0e-12;
    if (normabs(b, matvec(A, x)) / N > EPS) {
      throw new Exception("Invalid Result");
    }

    ExecutionResult result = new ExecutionResult();
    result.setType(BenchmarkType.LU);
    result.setCalculationTime(sw.read());
    result.setCycles(cycles);

    return result;
  }
View Full Code Here

    double calcTime = 0;
    double execTime = 0;
   
    for (Serializable result : results) {
      if (result instanceof ExecutionResult) {
        ExecutionResult exResult = (ExecutionResult) result;
        cycles += exResult.getCycles();
        calcTime += exResult.getCalculationTime();
        execTime += exResult.getExecutionTime();
      }
    }
   
    double effectiveTime = (calcTime/execTime) * overallTime;
   
 
View Full Code Here

    double calcTime = 0;
    double execTime = 0;
   
    for (Serializable result : results) {
      if (result instanceof ExecutionResult) {
        ExecutionResult exResult = (ExecutionResult) result;
        cycles += exResult.getCycles();
        calcTime += exResult.getCalculationTime();
        execTime += exResult.getExecutionTime();
      }
    }
   
    double effectiveTime = (calcTime/execTime) * overallTime;
   
 
View Full Code Here

TOP

Related Classes of org.nebulaframework.benchmark.scimark.grid.ExecutionResult

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.