android_webview/tools/run_simpleperf.py
def GetOriginalReportHtml(perf_data_path, report_html_path):
    """Gets the original report.html from running simpleperf."""
    cmd = ['third_party/android_ndk/simpleperf/report_html.py',
           '--record_file', perf_data_path,
           '--report_path', report_html_path,
           '--no_browser']
    subprocess.check_call(cmd)
    lines = []
    with open(report_html_path, 'r') as f:
      lines = f.readlines()
    return lines
Gets the original report.html from running simpleperf.
Gets the original report.html from running simpleperf.
Gets the original report . html from running simpleperf .
def GetOriginalReportHtml(perf_data_path, report_html_path):
    cmd = ['third_party/android_ndk/simpleperf/report_html.py',
           '--record_file', perf_data_path,
           '--report_path', report_html_path,
           '--no_browser']
    subprocess.check_call(cmd)
    lines = []
    with open(report_html_path, 'r') as f:
      lines = f.readlines()
    return lines
def GetOriginalReportHtml ( perf_data_path , report_html_path ) : cmd = [ 'third_party/android_ndk/simpleperf/report_html.py' , '--record_file' , perf_data_path , '--report_path' , report_html_path , '--no_browser' ] subprocess . check_call ( cmd ) lines = [ ] with open ( report_html_path , 'r' ) as f : lines = f . readlines ( ) return lines
Gets the original report.html from running simpleperf.
Gets the original report . html from running simpleperf .
"""Gets the original report.html from running simpleperf."""
perf_data_path
report_html_path