Package org.shiftone.jrat.util

Examples of org.shiftone.jrat.util.Percent


    children = newChildren;
    if (node.getTotalDurationNanos() == 0) {
      parentTotalDurationPercent = null;
    } else {
      parentTotalDurationNanos = node.getTotalDurationNanos() - childrenTotalDurationNanos;
      parentTotalDurationPercent = new Percent(parentTotalDurationNanos * 100.0 / node.getTotalDurationNanos());
    }
    fireTableDataChanged();
  }
View Full Code Here


    case 10:
      return node.getMinDuration(TimeUnit.MS);
    case 11:
      return node.getMaxDuration(TimeUnit.MS);
    case 12:
      return (rowIndex == 0) ? parentTotalDurationPercent : new Percent(node.getPctOfAvgParentDuration());
    }
    return null;
  }
View Full Code Here

    case 10:
      return node.getMinDuration(TimeUnit.MS);
    case 11:
      return node.getMaxDuration(TimeUnit.MS);
    case 12:
      return new Percent(node.getPctOfAvgParentDuration());
    case 13:
      return new Percent(getPctOfAvgRootDuration(node));
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.util.Percent

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.