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

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


        }

  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) {
    hist.bin(l.longValue());
            }
  }
 
  if (taskCount % windowSize == 0) {
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) {
    hist.bin(l.longValue());
            }
  }
 
  if (taskCount % windowSize == 0) {
View Full Code Here

TOP

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

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.