(self)
return self.max_counters
Return the number of counters in active use.
Return the number of counters in active use.
Return the number of counters in active use .
def CountersInUse(self):
    """Return the number of counters in active use."""
    for i in xrange(self.max_counters):
      name_offset = self.counter_names_offset + i * self._COUNTER_NAME_SIZE
      if self.data.ByteAt(name_offset) == 0:
        return i
    return self.max_counters
def CountersInUse ( self ) : for i in xrange ( self . max_counters ) : name_offset = self . counter_names_offset + i * self . _COUNTER_NAME_SIZE if self . data . ByteAt ( name_offset ) == 0 : return i return self . max_counters