public void addCallCount(final short slotTime, final long count) {
        final HistogramSchema schema = this.schema;

        if (slotTime == schema.getSumStatSlot().getSlotTime()) {
            this.sumElapsed += count;
            return;
        }
        if (slotTime == schema.getMaxStatSlot().getSlotTime()) {
            updateMaxElapsed(count);
            return;
        }
        if (slotTime == schema.getPingSlot().getSlotTime()) { // ping
            this.pingCount += count;
            return;
        }

        if (slotTime <= schema.getVerySlowErrorSlot().getSlotTime()) {
            this.verySlowErrorCount += count;
            return;
        }

        if (slotTime <= schema.getSlowErrorSlot().getSlotTime()) {
            this.slowErrorCount += count;
            return;
        }


        if (slotTime <= schema.getNormalErrorSlot().getSlotTime()) {
            this.normalErrorCount += count;
            return;
        }

        if (slotTime <= schema.getFastErrorSlot().getSlotTime()) {
            this.fastErrorCount += count;
            return;
        }

        if (slotTime <= schema.getTotalErrorView().getSlotTime()) { // -1 is error
            LOGGER.info("Backward compatibility ErrorView schema={}", schema);
            // this is for backward compatibility
            this.fastErrorCount += count;
            return;
        }

        if (slotTime == schema.getVerySlowSlot().getSlotTime()) { // 0 is slow slotTime
            this.verySlowCount += count;
            return;
        }

        if (slotTime <= schema.getFastSlot().getSlotTime()) {
            this.fastCount += count;
            return;
        }

        if (slotTime <= schema.getNormalSlot().getSlotTime()) {
            this.normalCount += count;
            return;
        }

        if (slotTime <= schema.getSlowSlot().getSlotTime()) {
            this.slowCount += count;
            return;
        }

        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("slot not found slotTime={} count={}, schema={}", slotTime, count, schema);
        }
    }
@author emeroad
@author netspider
@author jaehong.kim
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/histogram/Histogram.java