}
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) {