code: def PushEvent(self, timestamp, event_data):
      
      heap_values = (timestamp, event_data)
      heapq.heappush(self._heap, heap_values)
      self.data_size += len(event_data)
docs: Pushes a serialized event onto the heap.
  
      Args:
        timestamp (int): event timestamp, which contains the number of
            micro seconds since January 1, 1970, 00:00:00 UTC.
        event_data (bytes): serialized event.