parameters: (self, page, tab, results)
docstring: Measure the page's performance.
docstring_summary: Measure the page's performance.
docstring_tokens: Measure the page s performance .
function: def MeasurePage(self, page, tab, results):
      """Measure the page's performance."""
      self._power_metric.Stop(page, tab)
      self._media_metric.Stop(page, tab)
      trace_name = self._media_metric.AddResults(tab, results)
      self._power_metric.AddResults(tab, results)
      if self._add_browser_metrics:
        self._cpu_metric.Stop(page, tab)
        self._cpu_metric.AddResults(tab, results, trace_name=trace_name)
        self._memory_metric.Stop(page, tab)
        self._memory_metric.AddResults(tab, results, trace_name=trace_name)
function_tokens: def MeasurePage ( self , page , tab , results ) : self . _power_metric . Stop ( page , tab ) self . _media_metric . Stop ( page , tab ) trace_name = self . _media_metric . AddResults ( tab , results ) self . _power_metric . AddResults ( tab , results ) if self . _add_browser_metrics : self . _cpu_metric . Stop ( page , tab ) self . _cpu_metric . AddResults ( tab , results , trace_name = trace_name ) self . _memory_metric . Stop ( page , tab ) self . _memory_metric . AddResults ( tab , results , trace_name = trace_name )