tools/perf/core/tbmv3/run_tbmv3_metric_unittest.py
def testRunInternalTBMv3Metric(self):
    """Run metric that is compiled into Trace Processor."""
    # This won't produce any histograms because trace_metadata proto is not
    # annotated. Check only that it doesn't throw errors. 'trace_metadata'
    # metric is relatively unlikely to be removed from Perfetto, but if it
    # is, we will have to pick a different metric.
    run_tbmv3_metric.Main([
        '--trace', self.trace_path,
        '--metric', 'trace_metadata',
        '--outfile', self.outfile_path,
    ])
Run metric that is compiled into Trace Processor.
Run metric that is compiled into Trace Processor.
Run metric that is compiled into Trace Processor .
def testRunInternalTBMv3Metric(self):
    run_tbmv3_metric.Main([
        '--trace', self.trace_path,
        '--metric', 'trace_metadata',
        '--outfile', self.outfile_path,
    ])
def testRunInternalTBMv3Metric ( self ) : run_tbmv3_metric . Main ( [ '--trace' , self . trace_path , '--metric' , 'trace_metadata' , '--outfile' , self . outfile_path , ] )
Run metric that is compiled into Trace Processor.
Run metric that is compiled into Trace Processor .
"""Run metric that is compiled into Trace Processor.""" # This won't produce any histograms because trace_metadata proto is not # annotated. Check only that it doesn't throw errors. 'trace_metadata' # metric is relatively unlikely to be removed from Perfetto, but if it # is, we will have to pick a different metric.
self