Package org.jamesii.perfdb.entities

Examples of org.jamesii.perfdb.entities.IApplication


      IRuntimeConfiguration rtConfig, IHardwareSetup setup,
      ComputationTaskRuntimeInformation crti) {

    // Create new application
    // TODO register result provider (ask Registry for factory etc.)
    IApplication application =
        perfDatabase.newApplication(probInst, rtConfig, setup, null);

    // Select suitable performance measurers
    HashMap<Class<? extends PerformanceMeasurerFactory>, IPerformanceType> factoryMapping =
        new HashMap<>();
View Full Code Here


   */
  public IApplication storeApplication(IProblemInstance probInst,
      IRuntimeConfiguration rtConfig) {
    // TODO create j2 ds result provider (ask Registry for factory etc.)
    // TODO create representation of hardware setup
    IApplication application = database.newApplication(probInst, rtConfig,
        null, null);
    flushIfNecessary();
    return application;
  }
View Full Code Here

  /**
   * Tests performance measurement management.
   */
  public void performance() throws Exception {

    IApplication app =
        perfDB.getAllApplications(perfDB.getAllProblemDefinitions().get(0))
            .get(0);

    perfDB.newPerformanceType(perfTypeName, "no desc",
        TotalRuntimePerfMeasurerFactory.class);
View Full Code Here

        perfDB.newFeatureType("New Feat.", "without desc",
            FeatureExtractorFactory.class);
    assertTrue(
        "At least the new feature type should be registered in the database.",
        perfDB.getAllFeatureTypes().size() >= 1);
    IApplication app =
        perfDB.getAllApplications(perfDB.getAllProblemDefinitions().get(0))
            .get(0);
    perfDB.newFeature(app, featType, dummyExtractor);
    perfDB.newFeature(app, featType, dummyExtractor);
    assertEquals(1, perfDB.getAllFeatures(app).size());
View Full Code Here

TOP

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

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.