diff --git a/tools/profiling/latency_profile/run_latency_profile.sh b/tools/profiling/latency_profile/run_latency_profile.sh index 40c6fcb4314fe267609e9ff15afcfb7c4185de7e..618db202dc4b5bd83f600fa20962b4e0086809c3 100755 --- a/tools/profiling/latency_profile/run_latency_profile.sh +++ b/tools/profiling/latency_profile/run_latency_profile.sh @@ -96,10 +96,11 @@ fi make CONFIG=basicprof -j$CPUS qps_json_driver mkdir -p reports -echo '<html><head></head><body>' > reports/index.html bins/basicprof/qps_json_driver --scenarios_json="$SCENARIOS_JSON_ARG" -echo '<pre>' >> reports/index.html + +echo '<html><head></head><body>Latency profile for:<br/>' > reports/index.html +echo "<p><pre>${SCENARIOS_JSON_ARG}</pre></p>" >> reports/index.html +echo '<p><pre>' >> reports/index.html $PYTHON tools/profiling/latency_profile/profile_analyzer.py \ --source=latency_trace.txt --fmt=simple >> reports/index.html -echo '</pre>' >> reports/index.html -echo '</body></html>' >> reports/index.html +echo '</pre></p></body></html>' >> reports/index.html