public interface CpuLayout
Modifier and Type | Method and Description |
---|---|
int |
coreId(int cpuId) |
int |
coresPerSocket() |
int |
cpus() |
int |
socketId(int cpuId) |
int |
sockets() |
int |
threadId(int cpuId) |
int |
threadsPerCore() |
int cpus()
int sockets()
int coresPerSocket()
int threadsPerCore()
int socketId(int cpuId)
cpuId
- the logical processor numberint coreId(int cpuId)
cpuId
- the logical processor numberint threadId(int cpuId)
cpuId
- the logical processor numberCopyright © 2018. All rights reserved.