diff options
author | fireice-uk <fireice2@o2.pl> | 2017-03-03 21:02:27 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-03-03 21:02:27 +0000 |
commit | 84317cfef411e5664a0447d95b12d83c008b81bc (patch) | |
tree | 3d9404a8e05739d1f136d824970f4c98c4b12fde /executor.h | |
parent | b5902fd0b75415d61a938db9ab06122e5c4c3a12 (diff) | |
download | xmr-stak-84317cfef411e5664a0447d95b12d83c008b81bc.zip xmr-stak-84317cfef411e5664a0447d95b12d83c008b81bc.tar.gz |
New webdesign for the HTTP report
Diffstat (limited to 'executor.h')
-rw-r--r-- | executor.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |