Skip to content

Commit

Permalink
slightly fancier output
Browse files Browse the repository at this point in the history
  • Loading branch information
dgquintas committed Jun 21, 2016
1 parent 74ea91d commit 9d393a5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/profiling/latency_profile/run_latency_profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9d393a5

Please sign in to comment.