Class SerializationMeasures

java.lang.Object
org.apache.uima.util.impl.SerializationMeasures

public class SerializationMeasures extends Object
Structure: StatDetail str has neh for offset, length, dictionary hits/misses indexedFs has neh for diffs modHeap named, has neh for diffs, heap for values
  • Field Details

    • MAX_NBR_ENCODE_LENGTH

      public static final int MAX_NBR_ENCODE_LENGTH
      See Also:
    • origAuxByteArrayRefs

      public long origAuxByteArrayRefs
    • origAuxShortArrayRefs

      public long origAuxShortArrayRefs
    • origAuxLongArrayRefs

      public long origAuxLongArrayRefs
    • origAuxBytes

      public long origAuxBytes
    • origAuxShorts

      public long origAuxShorts
    • origAuxLongs

      public long origAuxLongs
    • mainHeapFSs

      public long mainHeapFSs
    • stringsNbrCommon

      public int stringsNbrCommon
    • stringsCommonChars

      public long stringsCommonChars
    • stringsSavedExact

      public long stringsSavedExact
    • stringsSavedSubstr

      public long stringsSavedSubstr
    • totalTime

      public long totalTime
    • statDetails

      public final SerializationMeasures.StatDetail[] statDetails
    • allSlots

      public final SerializationMeasures.AllStatDetails allSlots
    • strSlots

      public final SerializationMeasures.AllStatDetails strSlots
  • Constructor Details

    • SerializationMeasures

      public SerializationMeasures()
  • Method Details

    • maxIndexToZeros

      private static int maxIndexToZeros(int[] c)
      helper method to truncate printing of lots of trailing 0s
      Parameters:
      c -
      Returns:
      the index of the 1st 0 where all the rest are 0's, or the last index
    • percent

      private static float percent(long a, long b)
    • toStatDetails

    • accum

      public void accum(SerializationMeasures o)
      accumulate results for multiple files
      Parameters:
      o - -
    • toString

      public String toString()
      Overrides:
      toString in class Object