From e99b23ff7bb0281594d85bfa419c52d241d6c024 Mon Sep 17 00:00:00 2001 From: fireice-uk Date: Wed, 15 Mar 2017 16:05:58 +0000 Subject: [PATCH] Correction to 10s sampling on the HTML report --- executor.cpp | 2 +- webdesign.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor.cpp b/executor.cpp index 16383ea..6d35f1b 100644 --- a/executor.cpp +++ b/executor.cpp @@ -717,7 +717,7 @@ void executor::http_hashrate_report(std::string& out) { double fHps[3]; - fHps[0] = telem->calc_telemetry_data(2500, i); + fHps[0] = telem->calc_telemetry_data(10000, i); fHps[1] = telem->calc_telemetry_data(60000, i); fHps[2] = telem->calc_telemetry_data(900000, i); diff --git a/webdesign.cpp b/webdesign.cpp index 75cb232..3c1f1fa 100644 --- a/webdesign.cpp +++ b/webdesign.cpp @@ -115,7 +115,7 @@ extern const char sHtmlCommonHeader [] = extern const char sHtmlHashrateBodyHigh [] = "
" "" - ""; + ""; extern const char sHtmlHashrateTableRow [] = "";
Thread ID2.5s60s15mH/s
Thread ID10s60s15mH/s
%u%s%s%s