Moved benchmark config save flag to the benchmark class
This commit is contained in:
parent
67ed81f1ec
commit
feeb226507
5 changed files with 10 additions and 11 deletions
|
@ -46,7 +46,6 @@ static char affinity_tmp[20] = { 0 };
|
|||
|
||||
|
||||
xmrig::Config::Config() : xmrig::CommonConfig(),
|
||||
m_shouldSave(false),
|
||||
m_aesMode(AES_AUTO),
|
||||
m_algoVariant(AV_AUTO),
|
||||
m_hugePages(true),
|
||||
|
@ -350,8 +349,6 @@ void xmrig::Config::parseJSON(const rapidjson::Document &doc)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (m_algo_perf[xmrig::PA_CN] == 0.0f) m_shouldSave = true;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@ public:
|
|||
|
||||
void getJSON(rapidjson::Document &doc) const override;
|
||||
|
||||
inline bool isShouldSave() const { return m_shouldSave; }
|
||||
inline AesMode aesMode() const { return m_aesMode; }
|
||||
inline AlgoVariant algoVariant() const { return m_algoVariant; }
|
||||
inline bool isHugePages() const { return m_hugePages; }
|
||||
|
@ -132,7 +131,6 @@ private:
|
|||
};
|
||||
|
||||
|
||||
bool m_shouldSave;
|
||||
AesMode m_aesMode;
|
||||
AlgoVariant m_algoVariant;
|
||||
bool m_hugePages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue