48 const CpuIndexes &cpuIndexes()
const;
51 CpuIndexes &cpuIndexes();
54 std::string toString();
69 static void sleep(
unsigned int milliseconds);
72 static void spinWait(
unsigned int microseconds);
75 static void affinity(
const CpuIndexes &cpuIndexes);
78 static void affinity(CpuIndex cpuIndex);
81 static void priority(
int priority);
87 static void policy(
int policy);
91 static unsigned int processorNumber();
std::set< CpuIndex > CpuIndexes
size_t CpuIndex
Logical processors that a thread is allowed to run on (first logical CPU has index 0)...
Represents set of CPU indices.
Current thread related tasks.