WIP hugepages in clientinfo popup

This commit is contained in:
BenDr0id 2018-07-18 16:44:03 +02:00
parent 566a9f57ec
commit 1b69dfc0e5
7 changed files with 82 additions and 13 deletions

View file

@ -87,8 +87,8 @@ public:
bool hasHugepages() const;
void setHugepages(bool hasHugepages);
int getHashFactor() const;
void setHashFactor(int hashFactor);
bool isHugepagesEnabled() const;
void setHugepagesEnabled(bool hugepagesEnabled);
bool isCpuX64() const;
void setCpuX64(bool isCpuX64);
@ -108,6 +108,15 @@ public:
void setHashrateHighest(double hashrateHighest);
double getHashrateHighest() const;
int getHashFactor() const;
void setHashFactor(int hashFactor);
int getTotalPages() const;
void setTotalPages(int totalPages);
int getTotalHugepages() const;
void setTotalHugepages(int totalHugepages);
int getCurrentThreads() const;
void setCurrentThreads(int currentThreads);
@ -167,15 +176,18 @@ private:
std::string m_log;
bool m_hasHugepages;
bool m_isHugepagesEnabled;
bool m_isCpuX64;
bool m_hasCpuAES;
int m_hashFactor;
double m_hashrateShort;
double m_hashrateMedium;
double m_hashrateLong;
double m_hashrateHighest;
int m_hashFactor;
int m_totalPages;
int m_totalHugepages;
int m_currentThreads;
int m_cpuSockets;
int m_cpuCores;