Package org.ojalgo.machine
Class BasicMachine
java.lang.Object
org.ojalgo.machine.BasicMachine
- Direct Known Subclasses:
CommonMachine
How much memory, and how many threads share that memory. Used to describe either total system resources
(system RAM and total number of threads handled by the processors) or a cache (processor's L1, L2 or L3
cache).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BYTES
- See Also:
-
GIGA
- See Also:
-
KILO
- See Also:
-
MEGA
- See Also:
-
THREAD
- See Also:
-
THREADS
- See Also:
-
memory
public final long memory -
threads
public final int threads
-
-
Constructor Details
-
BasicMachine
public BasicMachine(long memoryBytes, int nbThreads)
-
-
Method Details