parameters: (self, part, events)
docstring: Note: this won't work when called from multiple browsers.
  
      Each browser's trace_event_impl zeros its timestamps when it writes them
      out and doesn't write a timebase that can be used to re-sync them.
docstring_summary: Note: this won't work when called from multiple browsers.
docstring_tokens: Note : this won t work when called from multiple browsers .
function: def AddEventsTo(self, part, events):
      """Note: this won't work when called from multiple browsers.
  
      Each browser's trace_event_impl zeros its timestamps when it writes them
      out and doesn't write a timebase that can be used to re-sync them.
      """
      assert isinstance(part, TraceDataPart)
      assert isinstance(events, list)
      if self._raw_data == None:
        raise Exception('Already called AsData() on this builder.')
      if part == CHROME_TRACE_PART:
        target_events = self._raw_data.setdefault(
            part.raw_field_name, {}).setdefault('traceEvents', [])
      else:
        target_events = self._raw_data.setdefault(part.raw_field_name, [])
      target_events.extend(events)
function_tokens: def AddEventsTo ( self , part , events ) : assert isinstance ( part , TraceDataPart ) assert isinstance ( events , list ) if self . _raw_data == None : raise Exception ( 'Already called AsData() on this builder.' ) if part == CHROME_TRACE_PART : target_events = self . _raw_data . setdefault ( part . raw_field_name , { } ) . setdefault ( 'traceEvents' , [ ] ) else : target_events = self . _raw_data . setdefault ( part . raw_field_name , [ ] ) target_events . extend ( events )