Example #1
0
 def CreateTimelineBasedMeasurementOptions(self):
     options = timeline_based_measurement.Options(
         chrome_trace_category_filter.ChromeTraceCategoryFilter())
     options.config.chrome_trace_config.category_filter.AddFilterString(
         'rail')
     options.config.enable_battor_trace = True
     options.config.enable_chrome_trace = True
     options.SetTimelineBasedMetrics(
         ['clockSyncLatencyMetric', 'powerMetric'])
     page_cycler_v2.AugmentOptionsForLoadingMetrics(options)
     return options
Example #2
0
 def CreateTimelineBasedMeasurementOptions(self):
     options = timeline_based_measurement.Options(
         chrome_trace_category_filter.ChromeTraceCategoryFilter())
     options.config.chrome_trace_config.category_filter.AddFilterString(
         'rail')
     options.config.enable_battor_trace = True
     options.config.enable_chrome_trace = True
     options.config.enable_cpu_trace = True
     options.SetTimelineBasedMetrics(
         ['clockSyncLatencyMetric', 'powerMetric', 'tracingMetric'])
     # TODO(ulan): Remove dependency on page_cycler_v2.
     page_cycler_v2.AugmentOptionsForLoadingMetrics(options)
     # The EQT metric depends on the same categories as the loading metric.
     options.AddTimelineBasedMetric('expectedQueueingTimeMetric')
     return options
Example #3
0
 def CreateTimelineBasedMeasurementOptions(self):
   tbm_options = timeline_based_measurement.Options()
   page_cycler_v2.AugmentOptionsForLoadingMetrics(tbm_options)
   return tbm_options