Package tvi.webrtc

Class Metrics.HistogramInfo

  • Enclosing class:
    Metrics

    public static class Metrics.HistogramInfo
    extends java.lang.Object
    Class holding histogram information.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int bucketCount  
      int max  
      int min  
      java.util.Map<java.lang.Integer,​java.lang.Integer> samples  
    • Constructor Summary

      Constructors 
      Constructor Description
      HistogramInfo​(int min, int max, int bucketCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSample​(int value, int numEvents)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • min

        public final int min
      • max

        public final int max
      • bucketCount

        public final int bucketCount
      • samples

        public final java.util.Map<java.lang.Integer,​java.lang.Integer> samples
    • Constructor Detail

      • HistogramInfo

        public HistogramInfo​(int min,
                             int max,
                             int bucketCount)
    • Method Detail

      • addSample

        public void addSample​(int value,
                              int numEvents)