Add support for benchmark in generated config.

This commit is contained in:
XMRig 2020-11-13 01:49:16 +07:00
parent 3b6cfd9c4f
commit e4283d5f53
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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);