Examples of tagAsSummary()


Examples of org.eclipse.test.internal.performance.InternalPerformanceMeter.tagAsSummary()

   * @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

Examples of org.eclipse.test.internal.performance.InternalPerformanceMeter.tagAsSummary()

   * @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);
      }
  }

  /**
   * Set a comment for the scenario represented by the given PerformanceMeter.
View Full Code Here

Examples of org.eclipse.test.internal.performance.data.Sample.tagAsSummary()

    map = new HashMap<Dimension, Scalar>();
    map.put(Dimension.CPU_TIME, new Scalar((Dim) Dimension.CPU_TIME, (long) performanceResult.getTime() * 1000));
    points[1] = new DataPoint(1, map);

    final Sample sample = new Sample(scenarioId, System.currentTimeMillis(), Collections.EMPTY_MAP, points);
    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) {
View Full Code Here

Examples of org.eclipse.test.internal.performance.data.Sample.tagAsSummary()

   */
  public void commit() {
    Sample sample= getSample();
    if (sample != null) {
      if (fSummaryDimensions != null) {
        sample.tagAsSummary(fSummaryIsGlobal, fShortName, fSummaryDimensions, fCommentType, fComment);
      } else if (this.fComment != null) {
        sample.setComment(this.fCommentType, this.fComment);
      }
      Variations variations= PerformanceTestPlugin.getVariations();
      if (variations != null)
View Full Code Here

Examples of org.eclipse.test.internal.performance.data.Sample.tagAsSummary()

   */
  public void commit() {
    Sample sample= getSample();
    if (sample != null) {
      if (fSummaryDimensions != null) {
        sample.tagAsSummary(fSummaryIsGlobal, fShortName, fSummaryDimensions, fCommentType, fComment);
      } else if (this.fComment != null) {
        sample.setComment(this.fCommentType, this.fComment);
      }
      Variations variations= PerformanceTestPlugin.getVariations();
      if (variations != null)
View Full Code Here

Examples of org.eclipse.test.performance.Performance.tagAsSummary()

    pm3.dispose();

    TestPerformanceMeter pm4= new TestPerformanceMeter(SCENARIO_NAME_4);
    pm4.addPair(InternalDimensions.CPU_TIME, 100, 1000);
    pm4.addPair(InternalDimensions.WORKING_SET, 1000, 2000);
    perf.tagAsSummary(pm4, SHORT_NAME_4, Dimension.USED_JAVA_HEAP);
    pm4.start();
    pm4.stop();
    pm4.commit();
    pm4.dispose();
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.