Package org.eclipse.test.internal.performance

Examples of org.eclipse.test.internal.performance.InternalPerformanceMeter$DimensionComparator


    sample.tagAsSummary(true, performanceResult.getName(), new Dimension[] {Dimension.CPU_TIME}, 0, null);
    Variations variations = PerformanceTestPlugin.getVariations();
    variations.put("browser", suiteName);
    DB.store(variations, sample);

    PerformanceMeter meter = new InternalPerformanceMeter(scenarioId) {
      public void stop() {
        throw new IllegalStateException();
      }

      public void start() {
View Full Code Here


   * @param shortName a short (shorter than 40 characters) descriptive name of the scenario
   * @param dimensions an array of dimensions to show in the summary
   */
  public void tagAsGlobalSummary(PerformanceMeter pm, String shortName, Dimension[] dimensions) {
      if (pm instanceof InternalPerformanceMeter) {
          InternalPerformanceMeter ipm= (InternalPerformanceMeter) pm;
          ipm.tagAsSummary(true, shortName, dimensions);
      }
  }
View Full Code Here

   * @param shortName a short (shorter than 40 characters) descriptive name of the scenario
   * @param dimensions an array of dimensions to show in the summary
   */
  public void tagAsSummary(PerformanceMeter pm, String shortName, Dimension[] dimensions) {
      if (pm instanceof InternalPerformanceMeter) {
          InternalPerformanceMeter ipm= (InternalPerformanceMeter) pm;
          ipm.tagAsSummary(false, shortName, dimensions);
      }
  }
View Full Code Here

   * @param commentText the comment (shorter than 400 characters)
   */
  public void setComment(PerformanceMeter pm, int commentKind, String commentText) {
    if (commentKind == EXPLAINS_DEGRADATION_COMMENT) {
        if (pm instanceof InternalPerformanceMeter) {
            InternalPerformanceMeter ipm= (InternalPerformanceMeter) pm;
            ipm.setComment(commentKind, commentText);
        }
    }
  }
View Full Code Here

        return// nothing to do
   
      if (!(performanceMeter instanceof InternalPerformanceMeter))
          return// we cannot handle this.
     
        InternalPerformanceMeter ipm= (InternalPerformanceMeter) performanceMeter;
      Sample session= ipm.getSample();
    Assert.assertTrue("metering session is null", session != null); //$NON-NLS-1$
      String scenarioName= session.getScenarioID();
   
    // determine all dimensions we need
    HashSet allDimensions= new HashSet();
View Full Code Here

TOP

Related Classes of org.eclipse.test.internal.performance.InternalPerformanceMeter$DimensionComparator

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.