Examples of IPerformanceType


Examples of org.jamesii.perfdb.entities.IPerformanceType

            + "' was not executed for all problems - will be ignored.");
      }

      // 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(
View Full Code Here

Examples of org.jamesii.perfdb.entities.IPerformanceType

  }

  @Override
  public IPerformanceType newPerformanceType(String typeName, String typeDesc,
      Class<? extends PerformanceMeasurerFactory> measurerClass) {
    IPerformanceType pm = getPerformanceType(measurerClass);
    if (pm != null) {
      return pm;
    }
    pm = new PerformanceType(typeName, typeDesc, measurerClass);
    save(pm);
View Full Code Here

Examples of org.jamesii.perfdb.entities.IPerformanceType

    perfDB.newPerformanceType(perfTypeName, "no desc",
        TotalRuntimePerfMeasurerFactory.class);
    perfDB.newPerformanceType("MyOtherType", "no desc",
        TotalRuntimePerfMeasurerFactory.class);
    IPerformanceType pm =
        perfDB.getPerformanceType(TotalRuntimePerfMeasurerFactory.class);
    assertEquals((new TotalRuntimePerfMeasurerFactory()).getMeasurementName(),
        pm.getName());

    perfDB.newPerformance(app, pm, 0.2);
    perfDB.newPerformance(app, pm, 0.4);
    assertEquals(2, perfDB.getAllPerformances(app).size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.