Use hwloc for set thread affinity.
This commit is contained in:
parent
9101469308
commit
72c9d94390
9 changed files with 118 additions and 38 deletions
|
@ -26,12 +26,15 @@
|
|||
#define XMRIG_PLATFORM_H
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#include "base/tools/String.h"
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
class Platform
|
||||
{
|
||||
public:
|
||||
|
@ -56,8 +59,11 @@ public:
|
|||
private:
|
||||
static char *createUserAgent();
|
||||
|
||||
static xmrig::String m_userAgent;
|
||||
static String m_userAgent;
|
||||
};
|
||||
|
||||
|
||||
} // namespace xmrig
|
||||
|
||||
|
||||
#endif /* XMRIG_PLATFORM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue