code: def Sample(self, operation, description, data_size, compressed_data_size):
      
      sample_time = time.time()
      sample = '{0:f}\t{1:s}\t{2:s}\t{3:d}\t{4:d}\n'.format(
          sample_time, operation, description, data_size, compressed_data_size)
      self._WritesString(sample)
docs: Takes a sample of data read or written for profiling.
  
      Args:
        operation (str): operation, either 'read' or 'write'.
        description (str): description of the data read.
        data_size (int): size of the data read in bytes.
        compressed_data_size (int): size of the compressed data read in bytes.