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(@Nullable Object o) |
static @NotNull VanillaCpuLayout |
fromCpuInfo() |
static @NotNull VanillaCpuLayout |
fromCpuInfo(InputStream is) |
static @NotNull VanillaCpuLayout |
fromCpuInfo(String filename) |
static @NotNull VanillaCpuLayout |
fromProperties(InputStream is) |
static @NotNull VanillaCpuLayout |
fromProperties(@NotNull Properties prop) |
static @NotNull VanillaCpuLayout |
fromProperties(String fileName) |
int |
hashCode() |
int |
socketId(int cpuId) |
int |
sockets() |
int |
threadId(int cpuId) |
int |
threadsPerCore() |
@NotNull String |
toString() |
public static final int MAX_CPUS_SUPPORTED
@NotNull public static @NotNull VanillaCpuLayout fromProperties(String fileName) throws IOException
IOException
@NotNull public static @NotNull VanillaCpuLayout fromProperties(InputStream is) throws IOException
IOException
@NotNull public static @NotNull VanillaCpuLayout fromProperties(@NotNull @NotNull Properties prop)
@NotNull public static @NotNull VanillaCpuLayout fromCpuInfo() throws IOException
IOException
@NotNull public static @NotNull VanillaCpuLayout fromCpuInfo(String filename) throws IOException
IOException
@NotNull public static @NotNull VanillaCpuLayout fromCpuInfo(InputStream is) throws IOException
IOException
public int coresPerSocket()
coresPerSocket
in interface CpuLayout
public int threadsPerCore()
threadsPerCore
in interface CpuLayout
public int socketId(int cpuId)
public int coreId(int cpuId)
public int threadId(int cpuId)
Copyright © 2016. All rights reserved.