org.ojalgo.concurrent
Class Hardware.MemoryThreads

java.lang.Object
  extended by org.ojalgo.concurrent.Hardware.MemoryThreads
Enclosing class:
Hardware

public static final class Hardware.MemoryThreads
extends Object

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).

Author:
apete

Field Summary
 long memory
           
 int threads
           
 
Constructor Summary
Hardware.MemoryThreads(long aMemory, int aThreads)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

memory

public final long memory

threads

public final int threads
Constructor Detail

Hardware.MemoryThreads

public Hardware.MemoryThreads(long aMemory,
                              int aThreads)
Method Detail

toString

public String toString()
Overrides:
toString in class Object