Examples of ITrace


Examples of com.onpositive.gae.profiler.ITrace

    limitSpinner.setEnabled(enable);
  }

 
  protected String getChartName(Object object) {
    ITrace c = (ITrace) object;
    return c.getShortName();
  }
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

  }

 
  protected double getChartValue(Object calc, Object object) {
    PercentCalculator<ITrace> pm = (PercentCalculator<ITrace>) calc;
    ITrace c = (ITrace) object;
    return pm.percent(c);
  }
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

    return string;
  }

 
  protected String getName(Object o1) {
    ITrace t = (ITrace) o1;
    return t.getName();
  }
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

    abstract double getTotalValue();

   
    protected void paint(Event event) {
      ITrace tr = (ITrace) event.item.getData();
      if (tr == null) {
        return;
      }
      double selfTime2 = getValue(tr);
      if (selfTime2 == Double.MIN_VALUE) {
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

          event.y);
    }

   
    protected int compare(Object obj1, Object obj2) {
      ITrace tr1 = (ITrace) obj1;
      ITrace tr2 = (ITrace) obj2;
      double d = getValue(tr1) - getValue(tr2);
      int d2 = d > 0 ? 1 : -1;
      if (d == 0) {
        d2 = 0;
      }
      return -(d2 != 0 ? d2 : tr1.getName().compareTo(tr2.getName()));
    }
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

    boolean isInt;

   
    protected void paint(Event event) {
      ITrace tr = (ITrace) event.item.getData();
      if (tr == null) {
        return;
      }
      double selfTime2 = getValue(tr);
      double selfTime = selfTime2;
View Full Code Here

Examples of com.onpositive.gae.profiler.ITrace

    public abstract boolean isHot(ITrace tr);

   
    protected int compare(Object obj1, Object obj2) {
      ITrace tr1 = (ITrace) obj1;
      ITrace tr2 = (ITrace) obj2;
      double d = getValue(tr1) - getValue(tr2);
      int d2 = d > 0 ? 1 : -1;
      if (d == 0) {
        d2 = 0;
      }
      return -(d2 != 0 ? d2 : tr1.getName().compareTo(tr2.getName()));
    }
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.