public class CPUAffinityLinux extends java.lang.Object implements ICPUAffinity
| Modifier and Type | Field and Description |
|---|---|
protected Logbuf |
rtcout
Format object for Logging
|
| Constructor and Description |
|---|
CPUAffinityLinux()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
setProcessAffinity(java.util.BitSet cpu_set)
Setting the CPU affinity of a process
|
boolean |
setThreadAffinity(java.util.ArrayList<java.lang.Integer> cpu_num_list)
Setting the CPU affinity of a process
|
protected Logbuf rtcout
public boolean setProcessAffinity(java.util.BitSet cpu_set)
setProcessAffinity in interface ICPUAffinitycpu_set -
The list in which the number of the CPU is stockedpublic boolean setThreadAffinity(java.util.ArrayList<java.lang.Integer> cpu_num_list)
setThreadAffinity in interface ICPUAffinitycpu_num_list -
The list in which the number of the CPU is stocked