parameters: (self, data_name, name_filter)
docstring: Creates a new instance.
  
      Args:
        data_name: the name of the file containing the counters.
        name_filter: The regexp filter to apply to counter names.
docstring_summary: Creates a new instance.
docstring_tokens: Creates a new instance .
function: def __init__(self, data_name, name_filter):
      """Creates a new instance.
  
      Args:
        data_name: the name of the file containing the counters.
        name_filter: The regexp filter to apply to counter names.
      """
      self.data_name = data_name
      self.name_filter = name_filter
  
      # The handle created by mmap.mmap to the counters file.  We need
      # this to clean it up on exit.
      self.shared_mmap = None
  
      # A mapping from counter names to the ui element that displays
      # them
      self.ui_counters = {}
  
      # The counter collection used to access the counters file
      self.data = None
  
      # The Tkinter root window object
      self.root = None
function_tokens: def __init__ ( self , data_name , name_filter ) : self . data_name = data_name self . name_filter = name_filter # The handle created by mmap.mmap to the counters file.  We need # this to clean it up on exit. self . shared_mmap = None # A mapping from counter names to the ui element that displays # them self . ui_counters = { } # The counter collection used to access the counters file self . data = None # The Tkinter root window object self . root = None