Add support for benchmark in generated config.

This commit is contained in:
XMRig
2020-11-13 01:49:16 +07:00
parent 6e0e0fe22a
commit 41eec70b3f
5 changed files with 60 additions and 5 deletions

View File

@@ -61,6 +61,8 @@ public:
inline uint32_t size() const { return m_size; }
inline uint64_t hash() const { return m_hash; }
rapidjson::Value toJSON(rapidjson::Document &doc) const;
private:
static uint32_t getSize(const char *benchmark);