parameters: (self, tab, results, exclude_metrics=None)
return_statement: return '_'.join(trace_names) or tab.url
docstring: Reports all recorded metrics as Telemetry perf results.
docstring_summary: Reports all recorded metrics as Telemetry perf results.
docstring_tokens: Reports all recorded metrics as Telemetry perf results .
function: def AddResults(self, tab, results, exclude_metrics=None):
      """Reports all recorded metrics as Telemetry perf results."""
      exclude_metrics = exclude_metrics or []
      trace_names = []
      for media_metric in self._results:
        trace_names.append(self._AddResultsForMediaElement(media_metric, results,
                                                           exclude_metrics))
  
      return '_'.join(trace_names) or tab.url
function_tokens: def AddResults ( self , tab , results , exclude_metrics = None ) : exclude_metrics = exclude_metrics or [ ] trace_names = [ ] for media_metric in self . _results : trace_names . append ( self . _AddResultsForMediaElement ( media_metric , results , exclude_metrics ) ) return '_' . join ( trace_names ) or tab . url