From 9d393a5d3c1a2609c3aa44caa3879e590f659c21 Mon Sep 17 00:00:00 2001
From: David Garcia Quintas
Date: Tue, 21 Jun 2016 15:20:19 -0700
Subject: [PATCH] slightly fancier output
---
tools/profiling/latency_profile/run_latency_profile.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tools/profiling/latency_profile/run_latency_profile.sh b/tools/profiling/latency_profile/run_latency_profile.sh
index 40c6fcb4314..618db202dc4 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 '' > reports/index.html
bins/basicprof/qps_json_driver --scenarios_json="$SCENARIOS_JSON_ARG"
-echo '' >> reports/index.html
+
+echo 'Latency profile for:
' > reports/index.html
+echo "${SCENARIOS_JSON_ARG}
" >> reports/index.html
+echo '' >> reports/index.html
$PYTHON tools/profiling/latency_profile/profile_analyzer.py \
--source=latency_trace.txt --fmt=simple >> reports/index.html
-echo '
' >> reports/index.html
-echo '' >> reports/index.html
+echo '' >> reports/index.html