mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Added alternative object format for CPU threads.
This commit is contained in:
@@ -53,6 +53,13 @@ public:
|
||||
rapidjson::Value toJSON(rapidjson::Document &doc) const;
|
||||
|
||||
private:
|
||||
enum Format {
|
||||
ArrayFormat,
|
||||
ObjectFormat
|
||||
};
|
||||
|
||||
Format m_format = ArrayFormat;
|
||||
int64_t m_affinity = -1;
|
||||
std::vector<CpuThread> m_data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user