| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CPUS_SUPPORTED |
| Modifier and Type | Method and Description |
|---|---|
int |
coreId(int cpuId) |
int |
coresPerSocket() |
int |
cpus() |
boolean |
equals(Object o) |
static VanillaCpuLayout |
fromCpuInfo() |
static VanillaCpuLayout |
fromCpuInfo(InputStream is) |
static VanillaCpuLayout |
fromCpuInfo(String filename) |
static VanillaCpuLayout |
fromProperties(InputStream is) |
static VanillaCpuLayout |
fromProperties(Properties prop) |
static VanillaCpuLayout |
fromProperties(String fileName) |
int |
hashCode() |
int |
socketId(int cpuId) |
int |
sockets() |
int |
threadId(int cpuId) |
int |
threadsPerCore() |
String |
toString() |
public static final int MAX_CPUS_SUPPORTED
@NotNull public static VanillaCpuLayout fromProperties(String fileName) throws IOException
IOException@NotNull public static VanillaCpuLayout fromProperties(InputStream is) throws IOException
IOException@NotNull public static VanillaCpuLayout fromProperties(@NotNull Properties prop)
@NotNull public static VanillaCpuLayout fromCpuInfo() throws IOException
IOException@NotNull public static VanillaCpuLayout fromCpuInfo(String filename) throws IOException
IOException@NotNull public static VanillaCpuLayout fromCpuInfo(InputStream is) throws IOException
IOExceptionpublic int coresPerSocket()
coresPerSocket in interface CpuLayoutpublic int threadsPerCore()
threadsPerCore in interface CpuLayoutpublic int socketId(int cpuId)
public int coreId(int cpuId)
public int threadId(int cpuId)
Copyright © 2016. All rights reserved.