Package org.jamesii.perfdb.entities

Examples of org.jamesii.perfdb.entities.IPerformance


    performanceType = perfMeasure;
    performance = perf;
  }

  public Performance(long id) throws SQLException {
    IPerformance pm = this.getEntity(id);
    application = pm.getApplication();
    performanceType = pm.getPerformanceType();
    performance = pm.getPerformance();
    setID(id);
  }
View Full Code Here


      // Use the same minimal number of replications for problem
      // Otherwise the co-variance is meaningless
      IPerformanceType perfType = perfDB.getPerformanceType(PERF_MEASURE_CLASS);
      List<IApplication> confApps = rtMap.get(config);
      for (int i = 0; i < minReps; i++) {
        IPerformance perf = perfDB.getPerformance(confApps.get(i), perfType);
        perfMap.get(config)
            .add(
                perf.getPerformance()
                    / SimulationProblemDefinition
                        .getSimStopTime(problemDefinition));
      }
    }
  }
View Full Code Here

   */
  protected List<Double> getPerformances(List<IApplication> apps,
      IPerformanceType perfType) {
    List<Double> perfs = new ArrayList<>();
    for (IApplication app : apps) {
      IPerformance perf = null;
      try {
        perf = perfDB.getPerformance(app, perfType);
      } catch (Exception ex) {
        SimSystem.report(Level.INFO,
            "Could not get performance for application #" + app.getID()
                + " and performance type #" + perfType.getID(), ex);
      }
      if (perf == null) {
        continue;
      }
      perfs.add(perf.getPerformance());
    }
    return perfs;
  }
View Full Code Here

TOP

Related Classes of org.jamesii.perfdb.entities.IPerformance

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.