aboutsummaryrefslogtreecommitdiff
path: root/src/tuning
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2012-05-06 16:58:12 -0400
committerArjan van de Ven <arjan@linux.intel.com>2012-05-06 16:58:12 -0400
commitd8d3d84eff4614f089919b1425f7685e256bd547 (patch)
tree7c0a02aa99b87427c5d10c77c6958c998b13540f /src/tuning
parentc26b56de207c7f187efc8b8db56ca59a473efb63 (diff)
always print the tuning <div>
Diffstat (limited to 'src/tuning')
-rw-r--r--src/tuning/tuning.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp
index 1064f51..1a90417 100644
--- a/src/tuning/tuning.cpp
+++ b/src/tuning/tuning.cpp
@@ -228,6 +228,10 @@ void report_show_tunables(void)
sort_tunables();
+
+ if (reporttype)
+ fprintf(reportout.http_report, "<div id=\"tuning\">\n");
+
line = 0;
for (i = 0; i < all_tunables.size(); i++) {
int gb;
@@ -239,7 +243,7 @@ void report_show_tunables(void)
if (line == 0) {
if(reporttype)
- fprintf(reportout.http_report,"<div id=\"tuning\"><h2>Software Settings in need of Tuning</h2>\n <table width=\"100%%\">\n");
+ fprintf(reportout.http_report,"<h2>Software Settings in need of Tuning</h2>\n <table width=\"100%%\">\n");
else
fprintf(reportout.csv_report,"**Software Settings in need of Tuning**, \n\n");