code: def _CompressHistogram(self, histo_ev):
      
      return CompressedHistogramEvent(
          histo_ev.wall_time,
          histo_ev.step,
          compressor.compress_histogram_proto(
              histo_ev.histogram_value, self._compression_bps))
docs: Callback for _ProcessHistogram.