|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.concurrent.ProcessorCount
public final class ProcessorCount
Field Summary | |
---|---|
int |
count
|
boolean |
modified
|
static int |
RUNTIME
Deprecated. Use OjAlgoUtils.HARDWARE instead |
Method Summary | |
---|---|
static ProcessorCount |
countFullSystem()
Total number of system threads. |
static ProcessorCount |
countPerCore()
The number of threads handled by one core. |
static ProcessorCount |
countPerProcessor()
The number of threads handled by one processor. |
static ProcessorCount |
countPerUnit()
The number of threads handled by one (L2) cache unit. |
ProcessorCount |
decrement()
|
ProcessorCount |
halve()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final int RUNTIME
Runtime.availableProcessors()
public final int count
public final boolean modified
Method Detail |
---|
public static ProcessorCount countPerCore()
public static ProcessorCount countPerProcessor()
public static ProcessorCount countPerUnit()
public static ProcessorCount countFullSystem()
public ProcessorCount decrement()
public ProcessorCount halve()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |