#2018-009, Minor adjustments

This commit is contained in:
avujic 2018-03-23 19:33:14 +01:00
parent 4efc1e39f4
commit 70a7863897
2 changed files with 12 additions and 12 deletions

View file

@ -47,11 +47,11 @@ public:
inline void setWorker(IWorker *worker) { m_worker = worker; } inline void setWorker(IWorker *worker) { m_worker = worker; }
private: private:
int m_priority; int m_priority;
int m_threadId; int m_threadId;
int m_threads; int m_threads;
int64_t m_affinity; int64_t m_affinity;
IWorker *m_worker; IWorker *m_worker;
uv_thread_t m_thread; uv_thread_t m_thread;
}; };

View file

@ -48,13 +48,13 @@ public:
protected: protected:
void storeStats(); void storeStats();
cryptonight_ctx *m_ctx; cryptonight_ctx *m_ctx;
int m_id; int m_id;
int m_threads; int m_threads;
std::atomic<uint64_t> m_hashCount; std::atomic<uint64_t> m_hashCount;
std::atomic<uint64_t> m_timestamp; std::atomic<uint64_t> m_timestamp;
uint64_t m_count; uint64_t m_count;
uint64_t m_sequence; uint64_t m_sequence;
}; };