use of com.navercorp.pinpoint.web.applicationmap.histogram.TimeHistogram in project pinpoint by naver.
the class ResponseTimeDataCollector method sum.
private void sum(Collection<TimeHistogram> timeHistograms) {
for (TimeHistogram timeHistogram : timeHistograms) {
slowCount += timeHistogram.getSlowCount();
slowCount += timeHistogram.getVerySlowCount();
errorCount += timeHistogram.getTotalErrorCount();
totalCount += timeHistogram.getTotalCount();
}
}
use of com.navercorp.pinpoint.web.applicationmap.histogram.TimeHistogram in project pinpoint by naver.
the class AgentHistogram method addTimeHistogram.
public void addTimeHistogram(TimeHistogram timeHistogram) {
TimeHistogram find = this.timeHistogramMap.get(timeHistogram.getTimeStamp());
if (find == null) {
find = new TimeHistogram(agentId.getServiceType(), timeHistogram.getTimeStamp());
this.timeHistogramMap.put(timeHistogram.getTimeStamp(), find);
}
find.add(timeHistogram);
}
use of com.navercorp.pinpoint.web.applicationmap.histogram.TimeHistogram in project pinpoint by naver.
the class LinkCallData method addCallData.
public void addCallData(long timestamp, short slot, long count) {
TimeHistogram histogram = getTimeHistogram(timestamp);
histogram.addCallCount(slot, count);
}
Aggregations