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