Merge xmrig v6.14.1 into master

This commit is contained in:
MoneroOcean 2021-08-14 20:33:50 +00:00
parent 9d0d6ad9b6
commit 945a9cbcb9
2 changed files with 4 additions and 3 deletions

View file

@ -18,6 +18,7 @@
#pragma once
#include <set>
#include <map>
#include "net/interfaces/IJobResultListener.h"
#include "base/crypto/Algorithm.h"
#include "rapidjson/fwd.h"
@ -95,7 +96,7 @@ class MoBenchmark : public IJobResultListener {
void start(); // start benchmarks
bool isNewBenchRun() const { return m_isNewBenchRun; }
double algo_perf[Algorithm::MAX];
std::map<Algorithm::Id, double> algo_perf;
rapidjson::Value toJSON(rapidjson::Document &doc) const;
void read(const rapidjson::Value &value);