1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 00:33:33 -05:00

Added debug thread log.

This commit is contained in:
XMRig
2018-09-15 16:48:57 +03:00
parent 93216a51f4
commit 812cd9760f
6 changed files with 47 additions and 13 deletions

View File

@@ -21,8 +21,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __CPUTHREAD_H__
#define __CPUTHREAD_H__
#ifndef XMRIG_CPUTHREAD_H
#define XMRIG_CPUTHREAD_H
#include "common/xmrig.h"
@@ -80,6 +80,10 @@ public:
inline Type type() const override { return CPU; }
protected:
# ifdef APP_DEBUG
void print() const override;
# endif
# ifndef XMRIG_NO_API
rapidjson::Value toAPI(rapidjson::Document &doc) const override;
# endif
@@ -101,4 +105,4 @@ private:
} /* namespace xmrig */
#endif /* __CPUTHREAD_H__ */
#endif /* XMRIG_CPUTHREAD_H */