tools/perf/run_gtest_benchmark.py
def ProcessResults(options):
  """Collect generated results and call results_processor to compute results."""
  _MergeResultsJson(_GetTraceDir(options),
                    os.path.join(options.intermediate_dir, MERGED_RESULTS))
  process_return_code = results_processor.ProcessResults(options)
  if process_return_code != 0:
    return process_return_code
  expected_perf_filename = os.path.join(options.output_dir, 'histograms.json')
  output_perf_results = os.path.join(options.output_dir, 'perf_results.json')
  shutil.move(expected_perf_filename, output_perf_results)
  return process_return_code
Collect generated results and call results_processor to compute results.
Collect generated results and call results_processor to compute results.
Collect generated results and call results_processor to compute results .
def ProcessResults(options):
  _MergeResultsJson(_GetTraceDir(options),
                    os.path.join(options.intermediate_dir, MERGED_RESULTS))
  process_return_code = results_processor.ProcessResults(options)
  if process_return_code != 0:
    return process_return_code
  expected_perf_filename = os.path.join(options.output_dir, 'histograms.json')
  output_perf_results = os.path.join(options.output_dir, 'perf_results.json')
  shutil.move(expected_perf_filename, output_perf_results)
  return process_return_code
def ProcessResults ( options ) : _MergeResultsJson ( _GetTraceDir ( options ) , os . path . join ( options . intermediate_dir , MERGED_RESULTS ) ) process_return_code = results_processor . ProcessResults ( options ) if process_return_code != 0 : return process_return_code expected_perf_filename = os . path . join ( options . output_dir , 'histograms.json' ) output_perf_results = os . path . join ( options . output_dir , 'perf_results.json' ) shutil . move ( expected_perf_filename , output_perf_results ) return process_return_code
Collect generated results and call results_processor to compute results.
Collect generated results and call results_processor to compute results .
"""Collect generated results and call results_processor to compute results."""
options