Public Member Functions | |
| ThreadAffinity (const std::string &str) | |
| ~ThreadAffinity () | |
| const CpuIndexes & | cpuIndexes () const |
| CpuIndexes & | cpuIndexes () |
| std::string | toString () |
|
explicit |
Constructs the thread affinity from the string presentation.
The symbol ',' is used as the CPU index delimiter.
| ~ThreadAffinity | ( | ) |
Destructs the instance.
| CpuIndexes & cpuIndexes | ( | ) |
The collection of CPU indices.
| const CpuIndexes & cpuIndexes | ( | ) | const |
The read-only access to the index collection.
| std::string toString | ( | ) |
Serializes the thread affinity to the string presentation.