Package com.sun.sgs.impl.profile.util

Examples of com.sun.sgs.impl.profile.util.PowerOfTwoHistogram


  for (Entry<String, List<Long>> entry : m.entrySet()) {
      String name = entry.getKey();

      Histogram hist = profileSamples.get(name);
      if (hist == null) {
    hist = new PowerOfTwoHistogram();
    profileSamples.put(name, hist);
      }

      List<Long> samples = entry.getValue();
      for (Long l : samples) {
View Full Code Here


     */
    public RuntimeHistogramListener(Properties properties, Identity owner,
                                    ComponentRegistry registry)
    {
    taskCount = 0;
  lifetimeHistogram = new PowerOfTwoHistogram();
  windowHistogram = new PowerOfTwoHistogram();

  windowSize = new PropertiesWrapper(properties).
      getIntProperty(ProfileListener.WINDOW_SIZE_PROPERTY,
                           DEFAULT_WINDOW_SIZE);
    }
View Full Code Here

  for (Entry<String, List<Long>> entry : m.entrySet()) {
      String name = entry.getKey();

      Histogram hist = profileSamples.get(name);
      if (hist == null) {
    hist = new PowerOfTwoHistogram();
    profileSamples.put(name, hist);
      }

      List<Long> samples = entry.getValue();
      for (Long l : samples) {
View Full Code Here

     */
    public RuntimeHistogramListener(Properties properties, Identity owner,
                                    ComponentRegistry registry)
    {
    taskCount = 0;
  lifetimeHistogram = new PowerOfTwoHistogram();
  windowHistogram = new PowerOfTwoHistogram();

  windowSize = new PropertiesWrapper(properties).
      getIntProperty(ProfileListener.WINDOW_SIZE_PROPERTY,
                           DEFAULT_WINDOW_SIZE);
    }
View Full Code Here

TOP

Related Classes of com.sun.sgs.impl.profile.util.PowerOfTwoHistogram

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.