(self, data)
Create a new instance.

    Args:
      data: the shared data access object
Create a new instance.
Create a new instance .
def __init__(self, data):
    """Create a new instance.

    Args:
      data: the shared data access object
    """
    self.data = data
    self.max_counters = data.IntAt(8)
    self.max_threads = data.IntAt(12)
    self.counter_names_offset = \
        self._HEADER_SIZE + self.max_threads * (self._THREAD_NAME_SIZE + 2 * 4)
    self.counter_values_offset = \
        self.counter_names_offset + self.max_counters * self._COUNTER_NAME_SIZE
def __init__ ( self , data ) : self . data = data self . max_counters = data . IntAt ( 8 ) self . max_threads = data . IntAt ( 12 ) self . counter_names_offset = self . _HEADER_SIZE + self . max_threads * ( self . _THREAD_NAME_SIZE + 2 * 4 ) self . counter_values_offset = self . counter_names_offset + self . max_counters * self . _COUNTER_NAME_SIZE