summaryrefslogtreecommitdiffstats
path: root/executor.h
diff options
context:
space:
mode:
authorfireice-uk <fireice2@o2.pl>2017-03-03 21:02:27 +0000
committerfireice-uk <fireice2@o2.pl>2017-03-03 21:02:27 +0000
commit84317cfef411e5664a0447d95b12d83c008b81bc (patch)
tree3d9404a8e05739d1f136d824970f4c98c4b12fde /executor.h
parentb5902fd0b75415d61a938db9ab06122e5c4c3a12 (diff)
downloadxmr-stak-84317cfef411e5664a0447d95b12d83c008b81bc.zip
xmr-stak-84317cfef411e5664a0447d95b12d83c008b81bc.tar.gz
New webdesign for the HTTP report
Diffstat (limited to 'executor.h')
-rw-r--r--executor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/executor.h b/executor.h
index 7bde3b5..d900b41 100644
--- a/executor.h
+++ b/executor.h
@@ -74,6 +74,10 @@ private:
void result_report(std::string& out);
void connection_report(std::string& out);
+ void http_hashrate_report(std::string& out);
+ void http_result_report(std::string& out);
+ void http_connection_report(std::string& out);
+
void http_report(ex_event_name ev);
void print_report(ex_event_name ev);
@@ -136,8 +140,8 @@ private:
std::array<size_t, 10> iTopDiff { { } }; //Initialize to zero
std::chrono::system_clock::time_point tPoolConnTime;
- size_t iPoolHashes;
- uint64_t iPoolDiff;
+ size_t iPoolHashes = 0;
+ uint64_t iPoolDiff = 0;
// Set it to 16 bit so that we can just let it grow
// Maximum realistic growth rate - 5MB / month
OpenPOWER on IntegriCloud