parameters: (self, name, pid, tid)
docstring: Adds a thread metadata event to the trace.
  
      Args:
        name:  The thread name as a string.
        pid:  Identifier of the process as an integer.
        tid:  Identifier of the thread as an integer.
docstring_summary: Adds a thread metadata event to the trace.
docstring_tokens: Adds a thread metadata event to the trace .
function: def emit_tid(self, name, pid, tid):
      """Adds a thread metadata event to the trace.
  
      Args:
        name:  The thread name as a string.
        pid:  Identifier of the process as an integer.
        tid:  Identifier of the thread as an integer.
      """
      event = {}
      event['name'] = 'thread_name'
      event['ph'] = 'M'
      event['pid'] = pid
      event['tid'] = tid
      event['args'] = {'name': name}
      self._metadata.append(event)
function_tokens: def emit_tid ( self , name , pid , tid ) : event = { } event [ 'name' ] = 'thread_name' event [ 'ph' ] = 'M' event [ 'pid' ] = pid event [ 'tid' ] = tid event [ 'args' ] = { 'name' : name } self . _metadata . append ( event )